Disable new "Diff view" IntelliCode suggestions? - visual-studio

After updating Visual Studio 2022 there seem to be a new style of IntelliCode that Peter Groenewegen referees to on twitter.
I find it very intrusive and want to get rid of it but cant seem to find a setting.
Am I missing something or is it one more of the new bloats in VS that you can't get rid of unless you kill the whole feature?
I'm really trying to like intelicode but it is slow and often suggest garbage so it is hard for me to like it. And now this.
VS staring to look like a three year old kid with crayons went over it and I would like to tone it down but not kill the features unless there is absolutely no other way.
Does anyone know if there is a setting somewhere?
Update: The settings (or it is just my settings) has ben largely removed so I don't have a lot of options to try.
Images of all my settings

Related

Bind keys to functions in Microsoft Visual Basic for Applications, and save it in a file

I am an EMACS user who has to use Microsoft Word a lot. I typically spend 15 minutes binding ^a to beginning-of-line, ^f to next-char, etc. I'm not sure where these keybindings get saved, perhaps in my personal template? I would like to be able to easily move it to another computer.
A while ago it looked like this was saved in a file called Normal.dot. Sometimes when I moved Normal.dot to another computer the keybindings moved along, but other times they didn't. I couldn't figure out why or why not.
It seems to me that the "right" way to do this would be by saving it in a macro and loading that macro into each computer that I use. Surely there is an easy way to do it. I just don't know how.
Can somebody give me the steps? Programs like Microsoft Word used to come with thick manuals, but they don't anymore, and I'm not really sure where to start. I also recall that VBA wasn't supported on MacOS, but now it seems that it is.

Are there any Mac OS code editors that support code auto-formatting (a.k.a. beautifying)?

So far I'm really impressed with Espresso, but it doesn't seem to offer any auto-formatting (by which I'm spoiled by Visual Studio). Are there any general code editors for Mac that support this? Specifically I'm interested in PHP and JavaScript, but curious to know about any options that might exist.
I've found Dreamweaver to be a great development platform on the Mac for PHP and Javascript. I'm not sure if you have access to it, but if it is a possibility, at least give it a test run. It does code highlighting, etc. that makes it much easier to code. The price, however, does make it a problem for most people.
In that case, you could try BBEdit. I've heard good things from people who would know but I personally have not used it (I have Dreamweaver through my company). It does auto-complete and a bunch of other nice things. It only costs $99 so it isn't too bad. Here is the link to the site:
http://www.barebones.com/products/bbedit/
I like TextMate. It’s powerful and inexpensive.
I may have found a good one from this answer, Aptana Studio. Looks like it's free/open-source, multi-platform, and supports code formatting for things like JavaScript and PHP.
I'll try it out and post back the results!
Update: While the app is okay and does offer some handy formatting, it's unfortunately clumsy and has some really annoying interface behavior (like code completion that won't go away and appears at the worst possible times) and a horrible options dialog, so it's not an ideal solution.

Is there a vsVim User Guide?

I've just recently downloaded vsVim to use it with Visual Studio 2010 and join the Vi way. But I haven't been able to find information regarding the specific vsVim documentation.
I know how to use Vim (basic use, nothing even intermediate) but I would like to know if there is something that is still missing from the vsVim implementation, or some special feature.
So could anyone point me to a good resource about vsVim?
Thanks for any help
Jared has said that the git issue list is the main place he tracks feature requests and issues - so having a look at requests should give you an idea of what notable features are missing.
There is a Wiki, which explains things such as (intended) nonstandard behavior. Also, watching the GitHub repository is a good way to learn both what is and isn't implemented in VsVim and also to learn Vim features that you didn't know about. I've certainly learned a number of things about Vim from feature requests that are posted there, etc.
There are many things missing from the VsVim implementation, and there always will be. There are just certain areas of Visual Studio that you can't accurately layer Vim on top of (for example, the mismatch between the way Visual Studio handles documents, windows and tabs and the way that Vim handles buffers, windows and tabs). However, more and more is supported continuously, and you can always submit a pull request. Jared is very friendly and good to work with. I started using VsVim a year and a half ago and already much more is supported then when I started using it.
If you are wondering whether you are doing somethign wrong or whether it just isn't implemented in VsVim, a good thing to do is to pop open Vim and use its :help feature to find out. You can always submit an issue on GitHub, or if you really want to learn Vim in a detailed way, you could work on implementing a feature.
Finally, the documentation is incomplete, but since it is a wiki, you are welcome to contribute to it as you learn.

VS2010 + Resharper 5 performance issues

I have been using VS2010 with Resharper 5 for several weeks and am having a performance issue. Sometimes when typing, the cursor will lag and the keystrokes won't show instantaneously. Also, scrolling will lag at times.
There is a forum thread started and JetBrains has been responding. Several people (including myself) have added their voice and uploaded some performance profiles.
If anyone here has has this issue, I would encourage you to visit the thread and let JetBrains know about it.
Has anyone had this problem and have a suggestion to restore performance?
I played around a bit with the options, and things went much smoother after I disabled the ReSharper IntelliSense. I'm pretty sure that the IntelliSense was the culprit but as I said, I played around a bit before doing it so it may not be true.
And also, adding XAML documents to Skip Items list for the Code Analyzer made quite the big difference when editing XAML documents, which was a total pain before that, at least it felt like it did xP Sure it still is a little sluggish but not nearly as bad as it previously was.
By the way: the Resharper options are now by default the most efficient ones. I wanted to modify them as specified (especially : Turning off Intellisense along with "Analyze errors in whole solution") but was already properly configured. So must come either from:
The use of a later build, or automatic update from jetbrains
It seems that 5.1.1 alleviates the problem that I was having.

DevExpress Refactor Pro vs JetBrains ReSharper

In my department, we are currently using ReSharper 4.0 and deciding whether to upgrade to 4.5 upon its release next week. I personally am a huge fan of ReSharper however a number of my colleagues have pointed out that they have been using a plug in from DevExpress called Refactor Pro that performs similar functionality.
http://www.devexpress.com/Refactor
http://www.jetbrains.com/resharper/beta.html
Has anyone previously compared these tools and hold any strong views on which tool would give us the greatest increase in productivity and why?
In my department, we also use ReSharper. Today, I installed 4.5, but had already used 3.something, 4.0 and 4.1 before. It really offers many great refactoring and code-writing supporting functions, renaming methods and functions, reordering parameters...
What I really like is that according to your corporate code style, you can configure ReSharper to give you hints on style violations in different severity levels (and quickly apply according changes, like MS StyleCop, but much easier to configure and more subtle).
My absolute favorite feature is Class-Searching by entering only the CamelCases, i.e. you type TSHWLOV and ReSharper will know that you mean the class from some referenced library named 'TerrificSearchHelperWithLotsOfVoodoo'.
Last year I have tried the DevExPress CodeRush/RefactorThis-Alternative, after I was quite impressed by the things that Oliver Sturm did with it on BASTA Spring 08.
The interface catchier and more impressive than Resharper, there are huge arrows flipping around your IDE and things like that, though the core functionality is rather similar.
I had the feeling that CodeRush is more focussed on code creation than on refactoring, i.e. more shortcuts for tasks like creating variables etc.
My favorite feature there was a sidebar, which always shows you all keyboard-shortcuts available in your current context. This makes you learn those commands quickly, where in ReSharper you have to look up most of them in nested submenus.
Both suites are really powerful and it after months of using them you will probably still discover new functions, which you have always needed without knowing it.
However, I decided in favor of ReSharper mostly because of I was more familiar with it and DevExpress was using much resources on my notebook and occasionally even slowed it down. By now, I use a much more powerful machine again, maybe I will give it another try soon.
I personally prefer CodeRush.
I find R#'s interface drives my (admittedly minor) OCD tendencies crazy. The little lightbulb insists on appearing on the far left of the screen, even if it's advice pertains to something in the middle or on the right. I find it garish and distracting.
By contrast, CodeRush's equivalent smart tag is lower contrast and smaller. It is therefore capable of locating itself within the code without distracting from said code. I find I can ignore this SmartTag when I need to, and it is always right in front of me when I decided I need it.
It is mainly this, that has prevented me from wanting to explore R# any further.
As far as CodeRush's feature set: Code Analysis, Refactorings, CodeProviders, Templates, TabToNextReference, QuickNavigation and many more.
I especially like CodeRush's extensibility which has allowed myself and several others to create many plugins for use within it. (http://code.google.com/p/dxcorecommunityplugins/)
CodeRush also has some top quality support and a very active community of users.
Certainly neither R# or CodeRush will suit all users. Every one has their own preferences. However, if you've not tried both, you should certainly do so.
If you come from the R# side of the equation and are looking to test out CodeRush, then you may find the compatibility plugin useful (http://code.google.com/p/dxcorecommunityplugins/wiki/CR_ReSharperCompatibility)
In addition CodeRush has a Free edition 'CodeRush Xpress' which Microsoft commissioned DevExpress to create, and which they have licensed on behalf of every user of Visual Studio 2008. This partnership will continue into VS2010 upon it's release.
If you have any questions regarding CodeRush you can find details for contacting me at the bottom of my community wiki page.
I should say that I do not work for DevExpress. I am what you might call a DevExpress MVP. To maintain this position, I answer questions in the DevExpress forums (and nothing else).
Everything I say is my own honest opinion.
If you have any questions, feel free to contact me :)
I'm using DevExpress which has a lot of "hidden" functionality, so you need to read the manuals to know how to activate some of the functionality. I find it very passive and subtle.
I used ReSharper and found it buggy and very invasive in my coding style. Bracket-closing drove me nuts, it ignored my preferences and couldn't cope with how I write my lines of code - which may not be most efficient but it's one of those things that ain't gonna change!
I've tried both, and really didn't get along with ReSharper. I found it to be just too intrusive for my coding style. When I switched to CodeRush / Refactor! it was like I'd found the perfect aid to my productivity. The refactorings are, for the most part, exactly what I wanted to see from this kind of product.
It is, however, horses for courses and you may well find that you prefer ReSharper. The best advice I can give is to try the other products and see which you prefer.
The only correct answer is to use both, of course! I do. You need a beefy laptop though. If I had to choose only one, I'd choose ReSharper... I think the static code analysis is a lot better.
ReSharper has a lot of great features, and DevExpress has a lot of great features.
When you put the two together, you end up w/ whole lot of AWESOME.
You need to jump through a few hoops to make them play nicely together: http://frazzleddad.blogspot.com/2010/01/making-devexpress-resharper-play-nicely.html
R# 4.5 is a free upgrade if you have a 4.0 license. So I'd suggest to get and use it - changing the "productivity tool" is always a pain because you'll have to get used to different ways, keyboard shortcuts etc. of doing things - no matter how good the tool actually is.
I have a personal copy of Refactor Pro but I use R# 4.1 at work with the StyleCop add-in as that is the team standard tool. I like RfP's arrows and code positioning stuff which is better than R#. Otherwise the tools are very similar.
However, at this time, its the StyeCop add-in that swings it in favor of R# for me.
Cheers
Benjy

Resources