nasa / fprime

F´ - A flight software and embedded systems framework
https://fprime.jpl.nasa.gov
Apache License 2.0
10.05k stars 1.3k forks source link

[VSCode Extension] Auto-detect locs.fpp file #2776

Closed thomas-bc closed 3 months ago

thomas-bc commented 3 months ago
F´ Version
Affected Component VS Code

Feature Description

There is a really neat VSCode extension that was contributed by our community, for FPP language support: https://github.com/fprime-community/vscode-fpp

It requires to specify the locs.fpp file manually. The location of that file can be inferred pretty easily, basically under build-fprime-*/locs.fpp. Maybe priority should be given to build-fprime-automatic-native/locs.fpp (and if fancy, the extension could have a setting that makes this priority configurable?). Then, any file matching build-fprime-*/locs.fpp would do.

Note, even just finding any build-fprime-*/locs.fpp file would do and would be very sufficient first pass at this!

Rationale

Make the extension easier to use! 🎉

thomas-bc commented 3 months ago

@Kronos3 tagging you since you are the author. If you have any comment let us know :)

I'll be happy to take this when I have a little free time, but if anyone else wants to go for it, let me know!