The options for initializing CodeToolsBoss are passed through environment variables as described at https://wiki.lazarus.freepascal.org/Codetools [1].
For example, mine are set up as follows through the Emacs client settings. FPCDIR="/usr/lib/fpc/3.2.0/source" LAZARUSDIR="/usr/share/lazarus" However, specifying the Lazarus source path does not seem to suffice to find the units of a component like CodeTools. Therefore I would recommend testing on simple code without many dependencies for now. Regards, Arjan [1] https://wiki.lazarus.freepascal.org/Codetools On Fri, 24 Apr 2020 15:11:26 +0700 Ryan Joseph via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote: > > On Apr 24, 2020, at 2:54 PM, Michael Van Canneyt > > <mich...@freepascal.org> wrote: > > > > What do you want to omit exactly ? > > For example, I'm not a lazarus user but I'm getting strange errors > that don't relate to my single file program. That's going to confuse > users like it did me. I'd like to omit the need to configure anything > in Lazarus if possible. > > > > >> For non-Lazarus users it's going to be a problem. That means the > >> language servers requires Lazarus to run at all. Not very good if > >> we an avoid this. > > > > It does not require lazarus, but it does require the FPC source > > tree. > > Ok then. How do I setup code tools on the FPC source tree? > > Regards, > Ryan Joseph > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
pgpN2Ca3xn2Ov.pgp
Description: OpenPGP digital signature
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal