Is there an extension for Visual Studio 2019 that will autocomplete HTML CSS classes? I used to have this but can't remember what extension it was.
In Visual Studio, I would type ".row", press the tab key and it would convert ".row" into
<div class="row"></div>
likewise, I could type ".col", press tab and it would convert ".col" into
<div class="col"></div>
I got it working after installing the Emmet.net plugin from the VSIX Gallery but oddly, it only works if I open the code snippet manager in VS then close it.
You can use the ZenCode extension, it supports Visual Studio 2019 and 2017.
https://marketplace.visualstudio.com/items?itemName=MadsKristensen.ZenCoding
Related
i used Visual studio 2019 till now. Here was a feature I liked. If i write .row and then i click the TAB. He create the tag
<div class="row"></div>
But this feature doesn't work Visual Studio 2022. Is it possible to set this for Visual Studio 2022 ?
I have installed Visual Studio 2019 to do some testing on our code base ready for migrating from Visual Studio 2017, I am also testing to ensure it plays nicely with our TFS system (currently TFS 2018 on premises).
It looks as though the Visual Studio Work Item Form is back! (VS 2017 dropped support for this in favour of opening Work Items in a web browser). I've not managed to find any information on this. I like the fact that we might have the option to work with Work Items in the VS IDE as well as the web browser, however its return introduces a few issues:
We use a custom MultiValue control that does have support for the VS 2019 Team Explorer (it last worked in VS 2015). Do you know where I can get hold of a MultiValue control that will work on the Work Item form in the VS 2019 Team Explorer?
Given that the MultiValue control isn't working I would like to continue working with Work Items in a browser. The VS 2019 Team Explorer seems to favour opening Work Items within the IDE, how can I open them in a browser from within the VS 2019 Team Explorer? Better still, how can I configure it to open in a browser by default?
Is there a better place for me to ask these questions?
Work Items should default to opening in the web in Visual Studio 2019. That behavior has not changed from Visual Studio 2017.
There is an option under "Tools->Options->Work Items" to enable the "Legacy experience (compatibility mode)". It sounds like that option has somehow gotten enabled in your installation. If you switch that back to "Default experience", work items should open in the web.
Hope this helps.
Sorry for the inconvenience. This is a designed behavior right now.
Please take a look at this similar issue: TFS work items opened inside Visual Study no longer open in the web browser, they always open in the Visual Studio editor
According to the response from MSFT:
We have re-design the default landing page for work items in Visual
Studio 2019 which only works with server >= 2019. If server is <
2019, work items will be open in Visual Studio only.
Since you are using TFS 2018 with VS2019, you may have to open work item in web portal from browser directly right now. Otherwise, you have to upgrade your TFS version from 2018 to Azure DevOps 2019, if you insist on opening the work item in Visual Studio.
We upgraded to CodeSmith 8.0 from 5.2. We are using Visual Studio 2019.
I was able to upgrade the codesmith .cst templates. The right click menu on Visual studio 2019 solution explorer doesn't show Manage outputs, generate output or any of codesmith right click options for .csp files
It shows the right click options in windows explorer for .csp files but not for VS 2019.
See the two screenshots. Do I need to do anything special for the options to show up on VS 2019?
Right click menu from Windows explorer. There are code smith options when I right click on the .csp file
Visual Studio 2019
I work at CodeSmith Tools.. Microsoft broke the world with VS2019 and we are currently blocked by VSIX changes in VS2019 where Roslyn bin folder dependencies are not being deployed within the VSIX. This makes testing / development even more difficult. Until a fix is out we can't resume development of VS2019 as we can't even debug it :.
I have a extension which adds custom project template which is displayed under Installed -> Visual C# -> < type> in visual studio 2017.
but when i am using same extension in Visual studio 2019, on searching i get the template but without any label (like language, platform and project type).
and even if i select language filter in the wizard, i don't see the template in C#.
if any one can help, how to add language, platform, project type tag to the template.
Thanks
This is a VS 2019 issue. It has now been solved in visual studio 2019 version 16.1 Preview 2. However it has no backwards compatibility with previous visual studio versions.
For more information about the bug see: https://developercommunity.visualstudio.com/idea/422666/allow-custom-project-templates-for-custom-language.html
See https://learn.microsoft.com/en-us/visualstudio/ide/template-tags?view=vs-2019 for adding tags in visual studio 2019 Version > version 16.1 preview 2.
How can I find usages of single let's say editor template in Visual studio? Or maybe in other direction how can I goto template which is rendered with EditorFor?
There is one workaround/help. If you have Visual Studio 2013 and Web Essentials installed you can CTRL+click anywhere on the page and the menu like this pops up.
If you click Inspect you can click on any element on page and then you cursor in Visual Studio moves to corresponding View/PartialView/DisplayTemplate/...
Mads Kristensen post on Web essentials 2013