Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement : try to build with Paladin if BeIDE is not found #71

Open
Sylvain78 opened this issue Sep 17, 2021 · 5 comments
Open

Enhancement : try to build with Paladin if BeIDE is not found #71

Sylvain78 opened this issue Sep 17, 2021 · 5 comments

Comments

@Sylvain78
Copy link

Source/Utils.cpp
line 161 :

if (be_roster->FindApp("application/x-mw-BeIDE", &ide))
THROW(("BeIDE was not found"));

We could try to find "application/x-vnd.dw-Paladin" as a fallback.

@OscarL
Copy link
Contributor

OscarL commented Mar 5, 2024

I've just took a look at this one, because... why not?

Got the IDE menu showing, "Bring to Front" causes Paladin to start (or activate if already running), and "Make" also causes Paladin to try and start building the active/open project, if any.

Add/Remove file do not work. There's seems to be a mismatch between the what codes between Pe and Paladin:

Paladin has:

	M_ADD_FILE = 'PAFl',
	M_REMOVE_FILE = 'PRFl',

But then re-defines:

#define	M_ADD_FILE 'adfl'

Meanwhile, Pe is using:

const unsigned long kCreateVerb =		'cre+';		//	"create"
const unsigned long kDeleteVerb =		'del-';		//	"delete"

"Project->Group" menu item also non-functional. Paladin does not seems to support the get? message Pe is trying to use to get the list of files from the IDE's project.

Making this work properly, would probably require coordination with @mbrumbelow for the Paladin side of things.

Also... (paging Dr. @humdingerb for this question) do we still care about supporting BeIDE on Pe?

Should we just Paladin #ifdef __HAIKU__ ? (no BeIDE on 64 bits anyway), while leaving BeIDE support if not compiling on Haiku? (does Pe still compiles on BeOS?)

@humdingerb
Copy link
Member

I don't know the answer to most of these questions. Haven't used Pe since Koder got usable (and that one much less since Genio) and haven't run BeOS for over 20 years... :)

Doesn't Paladin come with its own Pe-forked editor? I expect people coding with Paladin already use its Pe-forked editor, no? The old Pe can still try hooking up with the ol' BeIDE if available, I guess?
Anyway, people using Pe (and BeIDE... does such a person exist?) should decide.

@OscarL
Copy link
Contributor

OscarL commented Mar 6, 2024

Paladin used to use "PalEdit". No more since 2014. It relies on Pe since then (AFAICT).

I'll just go with approach I took on #90 then. If someone wants to compile Pe with BeIDE support (instead of Paladin), they can try compiling Pe under BeOS :-P.

@humdingerb
Copy link
Member

How time flies... just a decade ago. :)

@X547
Copy link
Contributor

X547 commented Apr 12, 2024

It would be better to use some add-on for this functionality instead of hard-coding every possible IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants