kmasif / capl-vector

CAPL Support for VS Code
MIT License
34 stars 9 forks source link

CAN database include (.dbc) #2

Open maximeverreault opened 6 years ago

maximeverreault commented 6 years ago

Have the possibility to include CAN database for signals autocompletion.

kmasif commented 6 years ago

This one might take a while as I believe, the extension would need language server support for handling such query. But yes, eventually having this functionality would be sweet.

maximeverreault commented 6 years ago

I'm just happy you made this actually !

kmasif commented 6 years ago

You are welcome. Got tired of using the built-in editor. And couldn't find any extension in the market place. So, decided to make one myself. :)

quelqundev commented 5 years ago

Hi ! Thanks for your extension, so comfortable ! 👍

I was thinking about this issue of signal completion and i would propose to evolve this extension with a LAnguage server.

In the extensions API we can programmatically add completion entries during execution (see the VSCode features page. And because VSCode API propose reading files functions, we could directly parse .dbc files included in the Workspace and then add signal list to the completionList.

Here is a couple of API informations that are good introductions to these mecanisms :