Adding bookmark to JSON file #638
-
When I try to add a bookmark to a JSON file I get the error message "Open a file first to toggle bookmarks"...which is pretty funny since I'm >>in<< a file. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @markolbert , You are probably facing a known VS Code limitation, which makes large files invisible to extensions. The first issue was #31. Unfortunately, there is nothing I can do in the extension to avoid/detect such situation, because VS Code itself does not tell the extensions that an unsupported file is being loaded. So, we will have to wait until VS Code team expand/remove such limitation. Hope this helps |
Beta Was this translation helpful? Give feedback.
-
Thanx for the quick reply. I suspected as much (it's a honking big JSON file, > 57MB). Hopefully the VS Code team will fix the underlying problem soon. |
Beta Was this translation helpful? Give feedback.
Hi @markolbert ,
You are probably facing a known VS Code limitation, which makes large files invisible to extensions. The first issue was #31.
Unfortunately, there is nothing I can do in the extension to avoid/detect such situation, because VS Code itself does not tell the extensions that an unsupported file is being loaded. So, we will have to wait until VS Code team expand/remove such limitation.
Hope this helps