HaikuArchives / Paladin

Paladin is an open source integrated development environment (IDE) for Haiku OS
MIT License
64 stars 20 forks source link

Pass companion file reference to Editor #357

Open adamfowleruk opened 4 years ago

adamfowleruk commented 4 years ago

When opening a file in Paladin, pass on the companion file full path to the editor for the file being opened. This assists the Editor when the companion file is not in the same folder.

Only Paladin has an idea of the Project context, and thus file dependencies, of the opened file.

Document this protocol fully and advertise to developers of Editors (E.g. Pe and Koder).

scottmc commented 4 years ago

IIRC Pe and perhaps others, also accept the line number to open up to by adding :nnn to the end of the path.

adamfowleruk commented 4 years ago

Yeah I'm already passing line number (supported by both Pe and Koder) and column (supported by Koder) - E.g. if you double click on a compilation error.