Hi so I was trying to learn json for the first time and in the tutorial theres a section where you need to open index.html but that is not on my sidebar and I have absolutely no clue how to find/open it.
In the tutorial theres a drop down marked as "current project" which is not present on my screen and the index.html is in that. Is there an easy way to find where this is?
for anyone curious the tutorial im following is https://www.youtube.com/watch?v=iiADhChRriM and I saw at 6:43 it was there when he opened the program
this is my sidebar for reference
idk if im just dumb or my progam is being stupid but i need to find the answer so i can continue this project as soon as possible
Ok, so here is how the visual studio code side bar works, the first line you see (open editors) is a list of all open files, you don't have to pay mind to it,
but you can use it to find files you were editing earlier if you want.
The second line (physicsdemoassessment) is your current directory, there you can see all files on the directory.
This means that visual studio code is currently open on your old project, you say you didn't use it, but you probably opened vs code at some point on your project once, and vs code remembers.
You should make a new project to follow the tutorial. Go to File->Open Folder and pick a folder or make an empty folder and select it.
The reason why the tutorial's side bar says current project is because that is the name of the folder he's working on. so if you want to name your project that as well you should name the folder you open that.
Finally, to "find" the index.html file, as he explains in the video, this is just a very basic file, he made it before the tutorial started, it's not a vs code thing. You have to write the file yourself.
I hope my explanation was clear and solves your issue.
Related
I am attempting to run some asp code in a htm file however whenever I open the file it doesn't actually run the code but instead just displays the code without the '<%%>'. I've tried changing the file type to all sorts of things (.html, .asp, .aspx, .shtml) however none change anything and .asp doesn't even run (instead just displays the text as the the browser would when opening a text document).
I found some code on w3schools.com which is where I'm learning html however it doesn't work nor does the site mention any prerequisites for using asp code in an htm file.
The code:
<!DOCTYPE html>
<html>
<body>
<% response.write(request.querystring("fname")) %>
</body>
</html>
I have gone and ticked the ASP Windows features and whatever else related but that did nothing.
I am on a Windows 10, if that is relevant.
I am using opera (though I've tried opening in Window's Edge as well) and just opening via double-click or dragging into window. I am new to html in general so sorry for such a dumb question that may have already been answered before, I have searched a lot but after quite some time I decided to just ask.
I'm not sure what you are learning, but I think you might have come across Classic Asp. I'd recommend you download Visual Studio Community Version which you can find here
and instead try to learn ASP.NET.
However, if you want to launch your file you will need to use the local IIS. Simply go to START and in the search bar type IIS:
It should look like this:
On the left hand site, you will see SITES --> Right Click On it and point it to your Folder/File. Once it's there, then click on your SITE Folder in IIS and click on START which is on the right side with a red border. If it doesn't come up, click BROWSE *.443 which is right below it. It should launch.
If you are just starting, I'd suggest you download Visual Studio Code or ATOM and start creating simple .html files/website. It might be too overwhelming to go into ASP.NET or Classic before you become familiar with static .Html files.
I'm new to html/css/js/php and i'm trying to create a site.I started working my html/css on a simple editor (Sublime-i know not the best idea),but in the meanwhile i started using PHP Storm. In order to get the pages i have made i copied the html content from Sublime and i pasted them in a new PHP file in PHP Storm (i did the same with the css). It turned out that transition went horrible and when i preview it is completely distrorted. Any ideas on what could have been so terribly wrong?
I had this issue before when I was trying to decide what to use sublime, phpstorm, and komodo edit. You need to copy the code across into a new .html or .php file. I can't recall which one does it but the file extension has something different that stops it.
I've been struggling all day trying to build Chromium and understand how branding works, but no luck with the later one.
The question is: how can I change the application name, logo and default search engine in the source files of Chromium ?
Got it:
On Chromium dev by James Atkinson
How to change Chromium app name and logo?
"What is the right place to change Chromium application name, program
title, .exe file name, and logo image. I guess there is place in
source code for windows, where it could be changed centralized for
whole project?"
There isn't a centralized place to change all at once. I'll advise you to go through .grd files search for .ico file an look at resources folder under chrome/browser/ it will give you a good start.
There are actually more places needs to be changed and I didn't found any doc describing the process.
There are some branding constants which are in the source itself, Like the folder name under app data which is embedded inside the code itself.
I am following the PrimeFaces MindMap example from:
http://www.primefaces.org/showcase/ui/mindmap.jsf
My question is: How do I increase the size of the "bubble" (MindmapNode) so that I can display more text within it?
Any help would be appreciated.
I looked at generated source and found that size is controlled by rx and ry in eclipse element. Just put your numbers there. Here is some source of mindMap maybe will be useful.
I spent forever trying to find out how to do this, so for anyone else who struggles, heres how to do it.
Open your primefaces jar file in a ZIP program such as WinZip.
Navigate to META-INF -> resources -> primefaces -> mindmap and open the mindmap.js file.
When I open it up even in an editor such as Notepad++ it is displayed entirely on one line. Therefore the easiest approach is just to search the file for this line:
raphael.ellipse
Within the brackets after that line are 4 values. The last 2 are the ones you are looking for. The first of the two is width and the last is height.
All you need to do then is to save the mindmap.js file, go back to WinZip and update the files in the jar, go to your project in Eclipse (or your chosen IDE), refresh the project and restart the server.
And your done.
I hope this helps somebody
I work with a lot of cshtml files in VS 2012, and a constant irritation is not being able to see the path or namespace of the file I'm working on (barring mouse hover every time).
I've googled quite a bit, haven't found any answer, and no VS Extension seems to do it either. Here's a screenshot of what exactly I mean (several index.cshtml, no easy way of distinguishing):
Either in a separate toolbar underneath like regular CS code files or as the tab title itself would be fine. Does anyone know of a tool or setting for this?