VS Code - IntelliSense: settings - settings

Is it possible to turn off some suggestions? For example I don't need almost any suggestion for interfaces.
It's annoying so many options and when I write something what's included in HTML something.. and click Tab I get this interface suggestion which I really don't use at all.
Screenshot of wrong suggestion:

VS Code 1.19 solves this with smarter IntelliSense.

Related

Find broken links in CSS & JS in Vidual Studio project?

I am importing a lot of CSS & JS into my app and updating the links as I go. Is there any code inspection possible that will highlight these broken links to make sure I haven't missed any and to save me going through every file?
I know in other IDE's this is a standard thing so I am guessing there should be something in VS but I can't find it.
I'm afraid that it's not possible in pure Visual Studio.
But there is one trick which you can do using ReSharper which might help you and solve your problem. Take a look below:
What is more - you can configure ReSharper to show those "Path errors" not as warning but as errors! Then you will be able to show those during compilation.
Click "ReSharper" in the Visual Studio top menu, then "Options..."
There will be search box in the left upper corner of the "Options" window
Type "Path error" and hit return
Change all of the "Warning" to "Error"
There are a number of sites/tools as listed here that will check anchor links, css links, image links, JavaScript links, etc:
W3C Link Checker
Xenu's Link Slueth
Link Checker FireFox AddOn
Dead Link Checker
I have only ever used the W3C checker which seems to work quite well.

WP7 / WP8 - Apply text styles

As you know, in Windows Phone SDK there are several styles that you can apply to textblocks.
For reference: MSDN
Since you can't always remember the full name of the style, is there an easy way to apply them? Do I really have to go to that link everytime I need to apply a new style?
IntelliSense is not helpful enough? I usually, write StaticResource text and then the list gets filtered with all the styles containing the "text" string. Kind of depends according to your needs. If you want to apply for font style, write "font" and see the list of suggestions.
Now, I'm not sure if my IntelliSense is as yours or is already enhanced by Resharper. If you haven't heard of it, take a look at it. You gotta hit CTRL+SPACE if the suggestion list isn't there, and it will get filled with possible matches. It's a nice productivity tool that does MUCH more and actually is not free but, I guess you could also get it crac... ahem :)
Other than this, I guess a quick bookmark to that web address, does that job pretty well. :)
The easiest way is to ensure you have the visual designer open while creating the view. You can right click on your TextBlock select Edit Style -> Apply Resource ->. From here you will see a long list of available styles to pick from.
I just found out that what I was looking for will be implemented in Visual Studio 2013!
Here you go: http://blogs.msdn.com/b/visualstudio/archive/2013/08/09/xaml-editor-improvements-in-visual-studio-2013.aspx

Does Dreamweaver support automatic code collapsing/folding?

In Visual Studio, I can collapse sections of code with arrows in the left gutter. Is there any way to do that in Dreamweaver?
Apparently Dreamweaver doesn't use code folding by default, but you should get a good idea of how to get that to work from http://forums.adobe.com/thread/226001
Just for anyone else that sees this, this is built into Dreamweaver now.

How can I customize the text editor or color tag parts of my code in Visual Studio?

How do I customize, extend the text editor, or color tag parts of my code?
I would like Visual Studio to color code parts of my code. Can I use #region and give it a color?
Is there any way to make the background between two parentheses have a different color? (I want each code "block" to have its own color.)
I've looked here for some insight, but they all are implemented based "on what you select". All I want is to have the text editor "render" the text in a different way based on some rules.
I haven't seen such feature, but there is something quite close to what you are looking for in ReSharper. A setting called "Highlight matching delimiters". Looks like this in use:
I wanted tell you this because
1) You might be interested in resharper and
2) resharper is able to do the highlighting so maybe someone can make an add-in or something to add this kind of feature. Maybe you? :)
I don't know of anything exactly like what you're asking for, but the VS10x Code Map extention might help: http://www.axtools.com/products-vs2010-extensions.php
It will give you a nice overview of the code on the side, and make navigation somewhat easier.
The download button on the right lets you download a trial version from the Visual Studio Gallery at msdn.microsoft.com. I think you can also find it directly from the extentions view in VS2010.

Can anyone explain why my workflow designer is so messed up?

I'm trying to learn TFSBuild 2010 and workflows and I found using the designer was very confusing. Then I realized from seeing screenshots of other peoples workflows, my designer is clearly messed up. Take a look at this:
http://imgur.com/uoKJ8.png
Something is very strange here. As I click on each task the borders for that task show up but this can get extremely confusing when there is a lot going on.
Yes, your designer is messed up. Why? Dunno.
First thing I'd do is update your graphics card. WPF is sensitive to bad video drivers.
Second is to go to Tools-Options and check out the Workflow options. You can change the "theme" of the workflow there. Change the theme, restart it and see if that makes a difference. If it works, you can try going back to the other theme.
Lastly, I'd definitely open a Connect on this. Check for the link under the Help menu.
Could it be that the XAML file for your workflow has invalid markup and is corrupted? Does it look the same when you create a new/empty workflow?
I'd say that if its happening for all workflows, including new ones, then you probably should try posting on a Microsoft help forum like this one.
Can you show your XAML file? Seems that it has more to do with the rendering of the Rehoster.

Resources