Sysprogs forums › Forums › VisualGDB › Autocomplete not working
Tagged: autocomplete intellisense
- This topic has 7 replies, 2 voices, and was last updated 7 years ago by support.
-
AuthorPosts
-
December 27, 2017 at 13:26 #13340ChangedDailyParticipant
Hi,
I have replaced the hard drive in my PC and since re-installing everything autocomplete no longer works for VisualGDB projects.
I have created a default project for the nRF52 but the autocomplete does not work unless I switch to ‘native visual studio intellisense engine’ but this then highlights 50% of the code with errors.
Might I have missed some installation step or setting?
Patrick
December 28, 2017 at 02:07 #13347supportKeymasterHi,
This could be caused by several different issues. Please check if the project can be built successfully. If not, please try creating a new project via VisualGDB Project Wizard and it will automatically get all the dependencies. If the build succeeds, but IntelliSense doesn’t work, please attach a screenshot of the entire Visual Studio window here and we can check for common problems.
January 13, 2018 at 19:59 #13428ChangedDailyParticipantHi,
I have been working on several projects now and autocomplete is not working in any of them. They all build.
What exactly do you mean by the entire Visual Studio Window?
Thanks
January 13, 2018 at 23:19 #13431supportKeymasterHi,
Thanks for the update. We would definitely need to see the screenshots to advise you further. By “Entire Visual Studio Window” we mean the physical window created by Visual Studio (including the navigation bar, Solution Explorer and Errors pane). Those panes may contain clues to the problem and we would need to see them to understand which parts of the IntelliSense engine have been initialized properly.
January 14, 2018 at 00:20 #13436ChangedDailyParticipantHi, there is no error as such, it’s just that no suggestions are made as I start typing.
I have attached a screen shot to get started…
Thanks
Attachments:
You must be logged in to view attached files.January 16, 2018 at 00:24 #13467supportKeymasterHi,
Unfortunately as you have cropped the screenshot, hiding the navigation bar, we are not able to tell whether the Clang engine is properly attached to the source file. Please attach a screenshot of the entire VS window as requested above.
Also if the manual auto-completion (triggered by Ctrl+Space) works, but the automatic one doesn’t, please try clicking the lightning symbol in the auto-completion popup to enable the automatic mode.
January 16, 2018 at 01:08 #13475ChangedDailyParticipantHa! Ctrl+space works, and then clicking the lightning symbol has enabled suggestions as I type.
I’m sorted now thanks, but I wonder where I would have found that keyboard shortcut?
January 18, 2018 at 08:17 #13493supportKeymasterHi,
The shortcut actually comes from Visual Studio. You can see under in Edit->IntelliSense together with a other IntelliSense commands. If you are not familiar with Visual Studio commands and shortcuts, we would advise looking through the Edit menu – it contains a few very powerful commands.
-
AuthorPosts
- You must be logged in to reply to this topic.