vscode icon indicating copy to clipboard operation
vscode copied to clipboard

JSON schema file doesn't provide intellisense until the initial save of a .json file

Open jgoshi opened this issue 10 years ago • 6 comments

  • VSCode Version: 1.2.1
  • VSCode C++ extension Version: 0.7.0
  • OS Version: Windows 10 Enterprise

NOTE: You need the C++ extension version 0.7.0 or later because we introduced the c_cpp_properties.json schema file.

Steps to Reproduce:

  1. Open any folder containing a .cpp file with unresolved header files.
  2. Click on the lightbulb for an unresolved header and select the "Add include path to settings"
  3. The c_cpp_properties.json file opens, but no intellisense is available. After I save once, intellisense begins to work.

jgoshi avatar Jun 23 '16 18:06 jgoshi

Works for me in the latest image

Can you still see this?

aeschli avatar Jul 20 '16 14:07 aeschli

Works for me after I save the file. But on the first attempt (when you click on the lightbulb and it brings up the json file) before you save it, there is no intellisense. I'm still seeing this on version 1.3.1.

jgoshi avatar Jul 21 '16 01:07 jgoshi

Can you try on the insiders build? https://code.visualstudio.com/insiders I just tried again and I see hovers and code completions as shown on the screenshot.

aeschli avatar Jul 21 '16 07:07 aeschli

This still doesn't work for me on insiders. It only starts working after my initial save.

jgoshi avatar Jul 27 '16 21:07 jgoshi

What about the hovers? Do you have any special settings?

aeschli avatar Jul 28 '16 05:07 aeschli

Hovers do no work. And I didn’t change any settings.

From: Martin Aeschlimann [mailto:[email protected]] Sent: Wednesday, July 27, 2016 7:59 PM To: Microsoft/vscode [email protected] Cc: Justin Goshi [email protected]; Author [email protected] Subject: Re: [Microsoft/vscode] JSON schema file doesn't provide intellisense until the initial save of a .json file (#8067)

What about the hovers? Do you have any special settings?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vscode/issues/8067#issuecomment-235806010, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASk5nSreKBq1dGHhed1aTozmqwjCEgzNks5qaEU2gaJpZM4I9GW4.

jgoshi avatar Aug 03 '16 17:08 jgoshi