-
Notifications
You must be signed in to change notification settings - Fork 18
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
[Proposal] Broaden the config file search to include an fpcupdeluxe
install.
#83
Comments
I'm not a Lazarus user so I don't have any useful feedback here. Searching more places seems smart to me but there may be unintended consequences I'm not aware of. What does @mvancanneyt think? |
Hey Ryan(@genericptr), Those are indeed good and relevant points. I think the only thing I can say is that, since One thing would be to look for the very telling So, Michaël(@mvancanneyt), what's your take on this? Cheers, |
There is no telling where fpcupdeluxe installs a lazarus. So you need to pass it on from the client. And if we're going to have to pass folder locations anyway, then we better pass on the lazarus config folder directly. |
Hey Michaël(@mvancanneyt),
Yes, absolutely, this makes tremendous sense. My main gripe is that I'm completely unfamiliar with the current asked folders. Could you please elaborate unto that? Many thanks !! Cheers, |
This article for Blaise Magazine hopefully will answer your question https://www.freepascal.org/~michael/articles/index.html#lazinvscode If not, I'll try to elaborate.... |
Hey Michaël(@mvancanneyt), I'll read that article!! Thanks !! I'm testing it under Cheers, |
Hey Michaël(@mvancanneyt), I read the article. It doesn't mention the Then there's this on the "syntaxes": [
"Packages/FPC/FPC.sublime-syntax"
] which points to a file that is not explained where to get it. I have many confusing questions about all of the above, and maybe some more will arise. Cheers, |
I don't use and don't know sublime text, so I cannot write about it. If you have questions about that part, Ryan will need to answer it, he is using Sublime Text. VS Code is used most of all these days, but more importantly, it is the editor that introduced the language protocol. |
This seems like a mistake by me. Can you delete that line? That's my own syntax package which shouldn't be relevant. It may get sent the LSP package and used in some way though but I'm not sure. |
Hey Michaël(@mvancanneyt), I understand the meaning of But you didn't answer my question about Does it supersede the stuff on the LSP Cheers, |
Hey Ryan(@genericptr), Okydokes, I'll delete that. Thanks!! Can you also edit the Many thanks!! Cheers, |
The ENV section takes precedence. |
Hey Michaël(@mvancanneyt), Okidokes, gotcha!! I'll delete my I'll report more about the functionality on another issue, since I don't have hover working and the context menu, that in the But getting back to the original issue topic, is it hard to get the Cheers, |
if you mean add a 'lazarus config directory' config option: no, it should not be difficult. |
Hey Michaël(@mvancanneyt),
That's awesome to read !! If I feel up to it, I'll probably dig into the code and offer a PR. 🫂 Cheers, |
Hey Ryan(@genericptr),
When I finally came around to test this, since I'm now using Sublime-Text, I saw some issues.
The double
/
and the read errors I've addressed in #82.But there's another thing I've noticed: It expects some config files to be in places that only a system wide install will put them.
Since I've been a long term
fpcupdeluxe
user, those config files are not there.I, kinda, solved the issue with
ln -s
, soft links, but this is a bit annoying.Could you consider broadening the config file search to include an
fpcupdeluxe
config folder?With an
fpcupdeluxe
install, both the files you're looking for are inInstallFolder/config_lazarus
.With an
fpcupdeluxe
install, these are the relevant paths:InstallFolder/fpc/bin/<CPU>-<OS>/ppc*
InstallFolder/fpcsrc
InstallFolder/lazarus
*.xml
configs:InstallFolder/config_lazarus
Thank you very much in advance!!
Cheers,
Gus
The text was updated successfully, but these errors were encountered: