I'm editing PHP-Files with Visual Studio. I have ReSharper 8.0.2 Full installed. When I edit PHP-Files ReSharper will inject strange spaces and tabs. So I went to the options and added "*.php" in the items to skip:
But this doesn't seem to work. There are still injected spaces and tabs. When I suspend ReSharper completely, this behavior stops. What am I doing wrong?
Edit: I posted this in JetBrains YouTrack.
ReSharper shouldn't be inserting spaces or tabs at all - I'd recommend reporting this as a bug, adding a repro if you can: http://youtrack.jetbrains.com
Related
When I have the text:
new ResharperFeature
And I press Ctrl-Backspace, I get:
new Resharper
And I want:
new
This issue exists only on my work PC. It must be misconfigured. What is the setting that I can change to get the "normal" behavior?
Note: I verified that this is a R# problem by suspending R#. The problem went away.
Go to ReSharper > Options > Environment > Editor, and deselect Use CamelHumps
Note that this will also affect Ctrl+W/Ctrl+Shift+W (Extend/Shrink Selection) and Ctrl+Left/Right
This is a known bug in Visual Studio 2010. https://connect.microsoft.com/VisualStudio/feedback/details/533093
Hope it will be fixed for VS 2012
In Visual Studio 2010, sometimes within the same session (not having rebooted the app) intellisense gets turned off. The checkboxes in Tools > Options > Text Editory > C# > Statement Completion, "Auto List Members" and "Parameter Information" become unchecked.
I have Resharper installed as well. But Resharper does not control that setting, as far as I know.
This can happen a couple times a day to me, all without restarting Visual Studio.
There is, apparently, a documented bug for Resharper: http://blogs.jetbrains.com/dotnet/2011/02/resharper-513-is-released/
Excerpt:
ReSharper 5.1.3 provides exactly one bug fix that prevents disabling Parameter
Information and auto-completion when you’re using native Visual Studio
IntelliSense (as opposed to ReSharper IntelliSense).
Please note that if you’re been using ReSharper IntelliSense as a workaround in
5.1.2, as soon as you switch back to Visual Studio IntelliSense, you’ll have to
initially set Auto-list members and Parameter information check boxes manually,
but that is only required once.
I've noticed this in ReSharper 7.1.1 as well, at least regarding javascript intellisense having the same problem. My workaround was to tell Reshaper to use 'Visual Studio' as its Intellisense option Resharper > Options > Intellisense > General. (you can still bring up Resharper's intellisense with Ctrl + Alt + Space)
Once I did that it kept my Visual Studio options checked for good.
I installed the RC of VS2010 side-by-side with VS2008 SP1. VS2010 Intellisense appears to be broken, or at least not functioning as expected. I can only get intellisense if I hit CTRL + spacebar. Then after selecting the memebr from the intellisense list, hit the period again, and then CTRL + space again.
If intellisense broken or just turned off? How do I fix it?
Update #1 - I do have Resharper 4.5 installed on VS2008.
UPDATE #2 - I installed the hot fix. No go. Then, I looked at the options under Tools > Options > Text Editor. As it turns out, under Statement Completion, the option to Auto list members was unchecked. Once I checked that option, intellisense was functioning as expected.
Under Tools > Options > Text Editor > LANGUAGE > under Statement Completion group, select the option to "Auto list members".
They're patching issues with intellisense.
http://weblogs.asp.net/scottgu/archive/2010/02/15/patch-for-vs-2010-rc-intellisense-crash-issue-now-available.aspx
-- Edit --
As pointed out by the comments below, this is not the same issue. I was just pointing out that MS is fixing issues with intellisense. It might not be worth beating yourself up looking for a misconfiguration on your system.
Did you have ReSharper installed with Visual Studio 2008? ReSharper (in VS2008) turns off Intellisense explicitly in order to replace it with their own.
If this is the case, you can turn it back on with the options under Tools->Options->Text Editor->[language] (and sometimes also under the Intellisense node under each language).
For example, for C#, the first checkbox under Tools->Options->Text Editor->C#->Intellisense is "Show completion list after a character is typed". Make sure that is checked.
VS2008 has nice enum suggestions eg if you press space after "=" and enum value is expected it automatically suggest all enums.
Noticed it gone after installing R#
Do you know how make it working back ??? Lack of this is really pain...
It's a bug that has been reported here. If you'd like to encourage JetBrains to fix it, sign up on their Jira site and vote/watch/comment on the bug.
There is no workaround apart from not using Resharper at all.
You may want to disable the R#'s IntelliSense (and use VS buit-in IntelliSence instead).
In Visual Studion, goto ReSharper (menu) -> Option -> IntelliSense -> General -> Visual Studio
I'm using R# 6
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?
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.
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.
Found it in Visual Studio 2019 as: Tools > Options > Text Editor > General > Show error squiggles
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
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.
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 Tools\Options\Projects and Solutions\General 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
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.
I had the same issue with 2017. There was a 'disable intelisense' option, make sure that is set to false.
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.
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
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.
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.