My Visual Studio (2008) Editor has stopped to underline Errors (this nifty wavy red lines). I can’t really tell when, but it can be related to the installation of .Net Framework 3.5 SP 1 or the MVC Beta (which I guess is unlikely). Furthermore have I installed and uninstalled both CodeRush and Resharper for evaluation purposes (decided not to keep either one of them).
Does anyone know the problem and how to restore this functionality again?
Eddie
53.5k22 gold badges124 silver badges144 bronze badges
asked Nov 6, 2008 at 7:21
3
Have you checked Tools→Options...→Text Editor→C#→Advanced→Underline errors in the editor?
I usually like to reset my settings after messing around with plugins, as they tend to mess with settings: Tools→Import and Export Settings...→Reset all settings.
Spooky
2,9668 gold badges27 silver badges41 bronze badges
answered Nov 6, 2008 at 7:27
sonteksontek
11.9k12 gold badges49 silver badges61 bronze badges
10
About possible causes.
For VS 2012 and 2013 if you have more than one instance of Visual Studio on different machines binded to one «live» account and have installed ReSharper on one of them, it disables the native IntelliSense and error underlines (to replace by it’s own rules) that will be synchronised through your account to another machine without ReSharper.
answered May 31, 2014 at 20:29
SerGSerG
1,2414 gold badges18 silver badges35 bronze badges
2
Found it in Visual Studio 2019 as: Tools > Options > Text Editor > General > Show error squiggles
answered Jan 19, 2021 at 9:22
This is generally called Disable Squiggly or Wavy lines in Visual Studio.
How you will do in Visual studio 2013?
TOOLS -> Options… -> Text Editor -> C/C++ -> Advanced -> Disable Squiggles: True/False (Under IntelliSense) -> Press OK
answered Sep 22, 2016 at 12:12
KulamaniKulamani
4996 silver badges13 bronze badges
0
I know its an old question, and with various solutions, but I have fixed it in different way. I’m working with Unity3D on my C# code using VS2017, when suddenly VS decides to stop underlining error while im typing. However, if I close the file tab and reopen, it suddenly undelines the error.
For example:
class A {
public int x;
s;
}
should obvsiouly give an error for that lonely ‘s’ symbol. But, VS doesn’t underline it until I close and reopen this file tab.
Solution:
Copied the entire Unity Project folder (which is like a regular VS Solution folder basically) and worked with the new folder, which issue was gone there.
answered Sep 29, 2018 at 19:34
MagmusMagmus
1871 silver badge11 bronze badges
For visual studio 2017 act according to HeeJae’s comments in:
https://developercommunity.visualstudio.com/content/problem/113112/design-time-error-checking-isnt-working.html
i.e:
Hi. you are probably hitting a known issue. can you try this?
1.Update to latest release If that doesn’t solve it
2.Go to ToolsOptionsProjects and SolutionsGeneral and uncheck “Allow parallel project initialization”.
3.Close VS.
4.Delete the “.vs” directory beside their solution file.
5.Reopen VS.
..
thank you
You can re-enable the «Allow parallel project initialization» option after the issue was solved.
I tried to upgrade VS, reset VS settings, clear VS cache and everything people do conventionally but none of them solved this issue! At the end the mentioned solution worked for me magically.
Good luck
answered Apr 3, 2019 at 0:57
user3578181user3578181
1,8562 gold badges16 silver badges12 bronze badges
Unloading and loading same project again from the solution does the trick. Just right click on the project and click «Unload Project». Once unloaded, again right click the same project and click «Reload Project». Error highlighting will return.
answered May 19, 2020 at 23:30
Noor ul AinNoor ul Ain
1642 silver badges16 bronze badges
I had the same issue with 2017. There was a ‘disable intelisense’ option, make sure that is set to false.
answered Jun 8, 2018 at 19:13
For everyone wondering in 2021..
search for «C_Cpp.errorSquiggles» in the settings.
Make sure to have it active for the user, as well as the workspace.
No need to restart Visual Studio.
answered Jan 13, 2021 at 11:40
1
For me (VS 2019) , after trying the other answers also, setting the scope of analysis from «Current document» to Open document» brought back the missing error markers
answered Sep 2, 2021 at 11:19
Just go to settings and search for errors and Image in Error Squiggles. You can see the Error squiggles (Modified: Workspace — Right now you can’t see it because I modified it). Just click on modified and you will see the disabled option. If by mistake you disabled it, just enable it and you can see the red line errors again in your code.
ouflak
2,43810 gold badges43 silver badges49 bronze badges
answered Sep 20, 2021 at 16:13
In latest edition, check for .vscode folder in same project folder. There will be a setting.json file in that. Delete the key value pair of "C_Cpp.errorSquiggles": "Disabled"
. Restart the vs code.
answered Jul 27, 2022 at 5:14
My Visual Studio (2008) Editor has stopped to underline Errors (this nifty wavy red lines). I can’t really tell when, but it can be related to the installation of .Net Framework 3.5 SP 1 or the MVC Beta (which I guess is unlikely). Furthermore have I installed and uninstalled both CodeRush and Resharper for evaluation purposes (decided not to keep either one of them).
Does anyone know the problem and how to restore this functionality again?
Eddie
53.5k22 gold badges124 silver badges144 bronze badges
asked Nov 6, 2008 at 7:21
3
Have you checked Tools→Options...→Text Editor→C#→Advanced→Underline errors in the editor?
I usually like to reset my settings after messing around with plugins, as they tend to mess with settings: Tools→Import and Export Settings...→Reset all settings.
Spooky
2,9668 gold badges27 silver badges41 bronze badges
answered Nov 6, 2008 at 7:27
sonteksontek
11.9k12 gold badges49 silver badges61 bronze badges
10
About possible causes.
For VS 2012 and 2013 if you have more than one instance of Visual Studio on different machines binded to one «live» account and have installed ReSharper on one of them, it disables the native IntelliSense and error underlines (to replace by it’s own rules) that will be synchronised through your account to another machine without ReSharper.
answered May 31, 2014 at 20:29
SerGSerG
1,2414 gold badges18 silver badges35 bronze badges
2
Found it in Visual Studio 2019 as: Tools > Options > Text Editor > General > Show error squiggles
answered Jan 19, 2021 at 9:22
This is generally called Disable Squiggly or Wavy lines in Visual Studio.
How you will do in Visual studio 2013?
TOOLS -> Options… -> Text Editor -> C/C++ -> Advanced -> Disable Squiggles: True/False (Under IntelliSense) -> Press OK
answered Sep 22, 2016 at 12:12
KulamaniKulamani
4996 silver badges13 bronze badges
0
I know its an old question, and with various solutions, but I have fixed it in different way. I’m working with Unity3D on my C# code using VS2017, when suddenly VS decides to stop underlining error while im typing. However, if I close the file tab and reopen, it suddenly undelines the error.
For example:
class A {
public int x;
s;
}
should obvsiouly give an error for that lonely ‘s’ symbol. But, VS doesn’t underline it until I close and reopen this file tab.
Solution:
Copied the entire Unity Project folder (which is like a regular VS Solution folder basically) and worked with the new folder, which issue was gone there.
answered Sep 29, 2018 at 19:34
MagmusMagmus
1871 silver badge11 bronze badges
For visual studio 2017 act according to HeeJae’s comments in:
https://developercommunity.visualstudio.com/content/problem/113112/design-time-error-checking-isnt-working.html
i.e:
Hi. you are probably hitting a known issue. can you try this?
1.Update to latest release If that doesn’t solve it
2.Go to ToolsOptionsProjects and SolutionsGeneral and uncheck “Allow parallel project initialization”.
3.Close VS.
4.Delete the “.vs” directory beside their solution file.
5.Reopen VS.
..
thank you
You can re-enable the «Allow parallel project initialization» option after the issue was solved.
I tried to upgrade VS, reset VS settings, clear VS cache and everything people do conventionally but none of them solved this issue! At the end the mentioned solution worked for me magically.
Good luck
answered Apr 3, 2019 at 0:57
user3578181user3578181
1,8562 gold badges16 silver badges12 bronze badges
Unloading and loading same project again from the solution does the trick. Just right click on the project and click «Unload Project». Once unloaded, again right click the same project and click «Reload Project». Error highlighting will return.
answered May 19, 2020 at 23:30
Noor ul AinNoor ul Ain
1642 silver badges16 bronze badges
I had the same issue with 2017. There was a ‘disable intelisense’ option, make sure that is set to false.
answered Jun 8, 2018 at 19:13
For everyone wondering in 2021..
search for «C_Cpp.errorSquiggles» in the settings.
Make sure to have it active for the user, as well as the workspace.
No need to restart Visual Studio.
answered Jan 13, 2021 at 11:40
1
For me (VS 2019) , after trying the other answers also, setting the scope of analysis from «Current document» to Open document» brought back the missing error markers
answered Sep 2, 2021 at 11:19
Just go to settings and search for errors and Image in Error Squiggles. You can see the Error squiggles (Modified: Workspace — Right now you can’t see it because I modified it). Just click on modified and you will see the disabled option. If by mistake you disabled it, just enable it and you can see the red line errors again in your code.
ouflak
2,43810 gold badges43 silver badges49 bronze badges
answered Sep 20, 2021 at 16:13
In latest edition, check for .vscode folder in same project folder. There will be a setting.json file in that. Delete the key value pair of "C_Cpp.errorSquiggles": "Disabled"
. Restart the vs code.
answered Jul 27, 2022 at 5:14
The C/C++ extension by Microsoft has been installed, and everything works really well. But the VSCode does not seem to show any red underline for syntax errors when there are issues.
I’m using Linux (kubuntu) with the pre-installed g++. I can also successfully build my code and run it.
Any suggestions on how to fix this problem?
asked May 11, 2020 at 16:21
Sabbir AhmedSabbir Ahmed
1,4181 gold badge14 silver badges20 bronze badges
After reading the comment of the previous answer, it seems like something is wrong with your settings. One final way possible to fix this issue is to reset the settings of Visual Studio Code to its factory defaults.
Delete the files shown below:
- For Windows:
%APPDATA%CodeUsersettings.json
- For Linux:
$HOME/.config/Code/User/settings.json
Or, do it directly from Code:
- Press F1 Type user settings
- Press Enter Click the sheet icon
- You will be redirected to the
settings.json
file. - Delete all of its content, save and restart.
answered May 11, 2020 at 17:08
1
In settings.json:
"C_Cpp.errorSquiggles": "Enabled"
Gino Mempin
23.1k27 gold badges91 silver badges120 bronze badges
answered Mar 2, 2021 at 21:42
4
- Go to settings in VS Code
- Search for squiggles
- Change c_cpp:
Error Squiggles
toenalbleifIncludesResolve
NKSM
5,1334 gold badges22 silver badges37 bronze badges
answered Apr 29, 2021 at 16:23
@alexdima
these are mine settings
{ "breadcrumbs.filePath": "off", "breadcrumbs.symbolPath": "off", "editor.acceptSuggestionOnEnter": "smart", "editor.colorDecorators": false, "editor.cursorBlinking": "smooth", "editor.cursorStyle": "line-thin", "editor.detectIndentation": false, "editor.fontSize": 12, "editor.hover.enabled": false, "editor.minimap.renderCharacters": false, "editor.multiCursorModifier": "ctrlCmd", "editor.scrollBeyondLastLine": false, "editor.snippetSuggestions": "top", "editor.tabSize": 2, "editor.wordWrap": "on", "explorer.confirmDelete": false, "explorer.confirmDragAndDrop": false, "files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/CVS": true, "**/.DS_Store": true, "**/node_modules": true, }, "files.insertFinalNewline": true, "files.trimFinalNewlines": true, "files.trimTrailingWhitespace": true, "html.format.wrapAttributes": "force-expand-multiline", "window.closeWhenEmpty": true, "window.restoreFullscreen": true, "window.titleBarStyle": "custom", "workbench.commandPalette.history": 0, "workbench.editor.tabSizing": "shrink", "workbench.settings.editor": "json", "workbench.settings.useSplitJSON": true, "workbench.startupEditor": "newUntitledFile", "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[javascriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "javascript.updateImportsOnFileMove.enabled": "always", "breadcrumbs.enabled": false, "editor.renderControlCharacters": false, "editor.renderWhitespace": "none", "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[typescript]": { "editor.defaultFormatter": "vscode.typescript-language-features" }, "diffEditor.renderSideBySide": true, "javascript.validate.enable": false, "search.searchOnTypeDebouncePeriod": 500, "git.openDiffOnClick": false, "workbench.colorTheme": "GitHub Dark", "svg.preview.mode": "svg", "editor.codeActionsOnSave": { "source.fixAll.eslint": true } }
I haven’t touched them since the last update and highlighting stopped working.
--user-data-dir
with this highlighting works. soo, should I delete my settings and start over?
0 / 0 / 0 Регистрация: 18.03.2021 Сообщений: 4 |
|
1 |
|
VS 2019 18.03.2021, 10:36. Показов 13843. Ответов 18
Добрый день! Вчера перестало работать подчёркивание ошибок. IntelliSense показывает инфу по типам переменных, функциям и т.д., но подчёркивания ошибок нет. Любая чушь, введённая в поле с кодом, будет приниматься программой и в списке ошибок будет писаться «Проблемы не найдены» до того момента, пока не проведёшь отладку. Менял настройки по советам из интернета, сбрасывал настройки полностью, перезагружал и студию и комп несколько раз. Результата нет. Может быть, кто-то с этим сталкивался? Не хотелось бы сносить VS и ставить заново, но пока других вариантов я не вижу
__________________
0 |
1880 / 1698 / 366 Регистрация: 17.02.2019 Сообщений: 2,706 |
|
18.03.2021, 11:22 |
2 |
forMax, а так пробовали Кликните здесь для просмотра всего текста
0 |
0 / 0 / 0 Регистрация: 18.03.2021 Сообщений: 4 |
|
18.03.2021, 12:01 [ТС] |
3 |
Да, пробовал. Не помогает. Он не только не подчёркивает ошибки, но и не проверяет правильность кода при написании — то есть внизу будет указано 0 ошибок, даже если они есть и они очевидны
0 |
1880 / 1698 / 366 Регистрация: 17.02.2019 Сообщений: 2,706 |
|
18.03.2021, 13:24 |
4 |
Сообщение было отмечено forMax как решение РешениеМожет через Visual Studio Installer попробовать восстановить Кликните здесь для просмотра всего текста
1 |
0 / 0 / 0 Регистрация: 18.03.2021 Сообщений: 4 |
|
18.03.2021, 15:12 [ТС] |
5 |
January29, спасибо, это помогло. Но частично. Теперь в новых проектах подсказки и исправления работают. А вот в старых, увы, проблема осталась. Благо, их у меня пока немного
0 |
1880 / 1698 / 366 Регистрация: 17.02.2019 Сообщений: 2,706 |
|
18.03.2021, 15:24 |
6 |
Сообщение было отмечено OwenGlendower как решение Решение
А вот в старых, увы, проблема осталась. Странно, наверно там когда ошибки, записывает какой то файл с ошибками. Может быть, я точно не знаю.
1 |
0 / 0 / 0 Регистрация: 18.03.2021 Сообщений: 4 |
|
19.03.2021, 10:05 [ТС] |
7 |
January29, очистил, пересобрал и…. Оно заработало как надо. Спасибо огромное за помощь
0 |
1880 / 1698 / 366 Регистрация: 17.02.2019 Сообщений: 2,706 |
|
19.03.2021, 10:28 |
8 |
forMax, не за что я рад что заработало
0 |
фрилансер 4488 / 3997 / 872 Регистрация: 11.10.2019 Сообщений: 10,526 |
|
19.03.2021, 15:47 |
9 |
January29, это лечится (возможно) так: в любом открытом файле правой кнопкой мыши —
0 |
1880 / 1698 / 366 Регистрация: 17.02.2019 Сообщений: 2,706 |
|
19.03.2021, 16:32 |
10 |
Алексей1153, Вот что то нет у меня вот этого
0 |
фрилансер 4488 / 3997 / 872 Регистрация: 11.10.2019 Сообщений: 10,526 |
|
19.03.2021, 16:58 |
11 |
January29, нуу, я не знаю, почему так )
0 |
Администратор 15259 / 12296 / 4907 Регистрация: 17.03.2014 Сообщений: 24,903 Записей в блоге: 1 |
|
20.03.2021, 09:42 |
12 |
в любом открытом файле правой кнопкой мыши — Это вроде только для С/С++ файлов.
0 |
1 / 1 / 0 Регистрация: 30.11.2021 Сообщений: 4 |
|
21.01.2023, 10:28 |
13 |
Такая же проблема появилась на версии 2022 17.
0 |
1880 / 1698 / 366 Регистрация: 17.02.2019 Сообщений: 2,706 |
|
21.01.2023, 14:32 |
14 |
Не подчеркивает, пишет, что 0 ошибок в коде Пробовали с поста 2. Попробуйте через Visual Studio Installer восстановить студию, как в посте 4.
0 |
1 / 1 / 0 Регистрация: 30.11.2021 Сообщений: 4 |
|
21.01.2023, 15:38 |
15 |
Пробовали с поста 2. Пробовал. Галка уже стоит. Пробовал убирать и заново ставить
Попробуйте через Visual Studio Installer восстановить студию Восстанавливал и переустанавливал несколько раз. Как будто настройка где-то сохраняется в другом месте.
Может собачка зарыта в скрытой папке .vs, удалите её или переименуйте если не хотите удалять. В инете видел этот совет и удалял. Дело в том, что не подчеркивает ошибки не просто в старом проекте, но и в новых.
Ещё может быть наверно цвет волнистой линии для ошибок изменен в цвет фона. Про это тоже читал. Менял цветовую схему на другую и возвращал обратно. Миниатюры
0 |
1880 / 1698 / 366 Регистрация: 17.02.2019 Сообщений: 2,706 |
|
21.01.2023, 18:01 |
16 |
Tsarst, кажись нашел пробуйте Скрин
1 |
1 / 1 / 0 Регистрация: 30.11.2021 Сообщений: 4 |
|
21.01.2023, 18:40 |
17 |
Это то, что надо! Спасибо.
0 |
1880 / 1698 / 366 Регистрация: 17.02.2019 Сообщений: 2,706 |
|
21.01.2023, 18:52 |
18 |
Это то, что надо! а что там было, если не секрет?
0 |
1 / 1 / 0 Регистрация: 30.11.2021 Сообщений: 4 |
|
21.01.2023, 18:56 |
19 |
Эта настройка была выключена. Установил на текущий документ, стало всё подчёркивать, показывать опечатки
1 |
IT_Exp Эксперт 87844 / 49110 / 22898 Регистрация: 17.06.2006 Сообщений: 92,604 |
21.01.2023, 18:56 |
19 |