-
Notifications
You must be signed in to change notification settings - Fork 143
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
IDE: VSCode tasks, intellisense and debug config generator #764
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I'm thinking about adding a |
|
a8e10e7
to
99918d4
Compare
tools/build_script_generator/vscode_debug/resources/vscode_launch.json.in
Outdated
Show resolved
Hide resolved
2166a34
to
7084c74
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@rleh It was suggested by @salkinium to also add the openocd command for the other build systems. Should we have that as well? |
I'll add some changes in a fixup commit |
Oh, missed that comment. |
I really want a The first two commits should be squashed and the commit msg should be adapted due to |
Good point, then leave it like that. |
I can currently think of only two features that would improve integration with VSCode:
(But we should probably inject the module documentation somehow into the generated source code.) |
f2bf916
to
8d0ffa5
Compare
It is now 😜 I played around with this and found it quite useful. I've added:
I think that's as much as we can get out of VSCode without writing a custom extension. Could you test this and tell me if this works for you? I have not defaulted the release build task, since in order to get to the other build tasks (upload) you have to use your mouse in the menu (Terminal -> Run Task...), where as now you can do Ctl+Shift+B to select the task you want to execute. |
8d0ffa5
to
738b888
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve ✅
3d9cdc6
to
809361d
Compare
Co-authored-by: Niklas Hauser <[email protected]>
Co-authored-by: Niklas Hauser <[email protected]>
809361d
to
6b4d656
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Squashed a little and fixed some indentation. 🚀
scons openocd
command added:ide:vscode
module generates VSCode tasks, intellisense and debug config file