ReSharper / VS 2010: How to disable HTML closing tag insertion - visual-studio-2010

ReSharper Full Edition v6.0.2202.688
Visual Studio 2010 Professional SP1
As an example, when I type <div and hit space or close the start tag ReSharper inserts the closing </div> tag. I don't want it to do this. I know there is a corresponding Visual Studio setting which does the same thing, which I have already disabled but makes no difference as ReSharper seems to do it in its own way.
VS setting:
Tools > Options > Text Editor > HTML > Formatting > "Auto insert close tag"
I have scoured the web for answers and the closest thing I can find is that there may be a bug in some versions of ReSharper which causes this, but I have been unable to properly confirm that.

This was fixed to respect VS option in 6.1. Please upgrade.

Related

Coderush express seems doesn't work

I installed Coderush express and I can see that it is installed. (I can see that Camel Case Navigation works). But I can see any other feature works. Based on this page: http://community.devexpress.com/blogs/markmiller/archive/2009/06/25/coderush-xpress-for-c-and-visual-basic-2008.aspx
I cannot see any of these feature to works:
Tab to Next Reference : no effect when I put caret on a variable and press tab ( a tab inserted at the middle of my variable name!)
Highlight All References: pressing ctrl+alt +u add a ascii character to source code.
Quick Navigation: Ctrl +Shift + Q has no effect.
Quick File Navigation : Ctrl +Alt +F brings up F# interactive
Selection Increase and Selection Reduce doesn't work: generate a beep
Declare: ctrl +` has no effect.
and ...
Any idea why this is happening? I am using VS2010.
Presumably due to your using a different version of Visual Studio.
The page you linked to is pretty clear about it being for Visual Studio 2008, but you've included the visual-studio-2010 tag.
CodeRush Xpress fully supports all language features of Visual Basic and C# in Visual Studio 2008.
Edit
Version of Visual Studio wasn't the problem after all.
It appears to just be that the tool makes very little visible change to the Visual Studio user interface, so it looks like it hasn't loaded.
It seems that your installation is corrupt. I would recommend you contact DevExpress Support directly. The support team is better equipped to resolve any issues you face with their products. They offer a very short response time and high qualification. I would also recommend that you reinstall the product.
The features you are asking about, were removed on purpose from VS2010 version of Coderush XPress. More info here:
Experience with Coderush XPress and Visual Studio 2010?

I don't want spaces when I tab in visual studio 2010

Whenever I add a tab in VS 2010, it puts spaces instead. I know you could fix this problem by going in the VS 2008 options, but I can't figure out how to fix this in VS 2010.
Tools > Options > Text Editor > All Languages > Tabs > enable "Keep Tabs".
You can also adjust this setting on a per-language basis.
Regarding the first anwser ...
"Keep Tabs" will only work until you start using linq queries.
When visual studio formats linq queries adds some spaces for paddind.
There are no built-in support in vs2010 for strict indentation using tabs.

Why does Auto List Members keep getting turned off?

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.

Highlight all occurrences of a selected object with ReSharper

I was used to use RockScroll (or MetalScroll), but when I started to use ReSharper my RockScroll start to show some bugs. Well, this is scope to another discussion https://stackoverflow.com/questions/1089493/is-rockscroll-compatible-with-resharper.
But my problem is related, because now without MetalScroll I can't highlight all occurrences, what I consider very useful in many situations.
Someone have another plugin for VS2010 or for ReSharper that do the same or better?
I think you are looking for "Highlight usages in file" This can be access via Shift+Alt+F11 or Ctrl+Shift+F7 depending if you are using VS key bindings or InteliJ bindings. Use either Ctrl+Alt+Up/Down or Ctrl+Alt+PageUp/PageDown to go to next and previous highlights.
You can also use the Ctrl+Alt+G combo to bring up a menu of what to jump to. This can be used to move the cursor to the next occurrence.
You should try Productivity Power Tools for Visual Studio 2010. There are other versions, at least one for Visual Studio 2013 and another one for Visual Studio 2015.
It plays nicely with ReSharper and has this selected text matches highlighting both in the editor and the scrollbars among many other features.
Try the visual studio extension RockMargin which highlight the occurrences on double click (like most IDEs). Works fine with VS 2015 and ReSharper.

VS2010 RC - Is intellisense broken? How do I turn it on?

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.

Resources