I am working on a project using ASP.NET CORE with MVC and when I want to use bootstrap (i think?) I get this warning, on a video on youtube he could see the B from bootstrap (autofill thing) when he used the div class name... but I don't get it and I see that bootstrap is loaded into my project.. I don't understand I followed the exact same instructions of the guy but mine just don't work.. I am beginner to visual studio and programming so I struggle with it.. thanks in advance..
The tag name should be div, instead of div-class.
<div class="row>
</div>
Related
When I create a brand new ASP.NET Core web application project, the following markup appears near the end of my _Layout.cshtml file.
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
However, this file does not exist on disk.
Can someone help me understand where this file is coming from and how I view or change it's content?
Visual Studios file nesting behaviour might make you believe so;
it shows wwwroot\lib\bootstrap\dist\js\bootstrap.js (image 1 below).
Just expand the collapsed arrows to find that bootstrap.bundle.min.js file (image 2).
I'm upgrading bootstrap 3.3.6 to 3.4.1. First need to first I need to find all the places(HTML elements) that use bootstrap 3.3.6 so I can do my regression testing covering those elements. Is there a way I can find all the bootstrap references?
This is a .net application with razor views
Thanks
You can do it via search text feature in your IDE like CTRL + Shift + F in visual Studio and Rider (assume it set Visual Studio Key-map), Which provides you with tools such :
Preview of codes before navigate to it.
Search a term in specific files (.cs, .cs-html, ...).
Search a term with regular expression.
...
For example assume we need to find all div which is have row class ( my IDE is rider), so all you can do, after open "find in files" popup, is just set simple things like image below:
I'm working to front end with AngularJS, so i decided to use Bootstrap. In my page sometimes i use class="btn" (because i need some buttons) but i have seen one difference in runtime.
I explain the problem here.
When i test my application in XAMPP (while developing) everything is good, without problem, but when i copy my files to my web dynamic project (i use spring) in runtime i see reduced height of buttons. Anyone has the same problem? i hope this was not duplicate of question, but i didn't what to search.
Here you can see what i means -->
http://imgur.com/a/ikO0n
Solved with height: 24px; in .btn-xs css class
I have googled a lot to try to find a fix for this. But none of the discussion is helping me. Here is my situation.
For him in this question. He says that css intellisense is working if he adds css like below. I am already using this method.
<link href="~/Content/style.css" rel="stylesheet" />
adding type="text/css" is also not working. I usually do not use this attribute but tried adding this when I saw in this question.
I also have both of these tools installed Web Essential 2012 and Microsoft Web Developer Tools extension.
Besides that, intellisense is working everywhere perfectly. It is also generating intellisense for HTML element, Razor expressions and even for JavaScript (jQuery too).
In the image below, there is no intellisense at current cursor location.
Please help me getting rid of this.
Added:
It won't generate list of css classes even if I add a few css classes in <style></style section.
How can i get classes and id's at html file from css using content assist?
Using:
Eclipse IDE for JavaScript Web Developers.
Version: Indigo Release
Build id: 20110615-060
This seems to be requested in:
bug 302125 - WTP: [content assist] Code assist for ids and classes in CSS, and
bug 290390 - WTP [content assist] Code assist for url's, colors and fonts.
It is not implemented yet, though.
The first bug report points out that is is implemented in Aptana, so you have this editor (Aptana studio, based on Eclipse3.5+ and available as an Eclipse plugin if you want) to consider as an alternative.