I am trying to come over from dreamweaver to eclipse.
In eclipse when I am in a php file writing html. If I just type a "<" then the code assist popup will come up with all the options I can choose from.
I would like to know if the code assist can appear in more places though.
If I type "<div" and hit space can I get another code assist popup? If so, how?
after "<div" (or any other tag), just enter a space and then hit Ctrl+Space:
alt text http://img36.imageshack.us/img36/3842/20100523012342.jpg
Related
I am a starter in programming. One of my friends told me that I can start programing without installing any app and that I need only notepad to start learning HTML. The thing I can't find out is how I actually make it work. I inputted the code he gave me and I also made sure there where no typos, but then after I saved it I can not open it as a local file. I have only been able to open it as a text document so I can only see the code.
For this you have to save the file you are working on with the extension: .html. Then you have to open it with a browser, and you will see there the content of it
you can create a notepad and save it as name.html (not as .txt)
write the code inside it.
You can start with the notepad software. Unfortunately, this is not the best option. In fact, specialized software is recommended. Thanks to them, you will be able to write code faster thanks to the suggestions made by the software or to the very useful shortcuts! If you want to use this software, I recommend you one of the best on the market: Visual Studio Code.
If however you want to stay with notepad, you just have to click on "File" > "Save as" and to choose the type of file you want. In your case, it will be .html (Hypertext Markup Language)
You can create a file called [filename].html, and right click on it to open it in notepad. After Editing the file and adding your code to it, you can double click on it and it will open in your browser.
If you start enjoying to code, getting an IDE will make it much better. Visual Studio Code is recommended for this as it is user friendly and won't take up much storage space :)
code.visualstudio.com - Visual Studio Code
After saving the HTML code save it as filename.html, make sure that file extension is .html otherwise the filesystem will not recognized it.
Then right click on the file and open it with chrome or whatever browser you have and it will work, else open browser and drag it to browser and drop it, your html page will open in browser.
So version before 1.30 worked fine, and did close the Tags in .html file, but as of 1.30 update I can't finish and then try to close it with
I have tried to delete config.json file, also tried to turno on every possible option for auto-close and auto-complete tags in options, but nothing worked.
And Sublime it's working fine. I downloaded plugin to transfer Sublime confing into Visual Studio Code but without success. Hope you can help me out, since i've been trying to fix this problem 3 hours now.
I had the same problem, then I noticed that my select language mode was something like Django HTML. Solved after changing it.
You might have opened a file before that changed the language mode. So first, check the language shown at the bottom-right of the VS Code window (status bar), then follow the steps bellow.
Go to settings (or edit the settins.json file) and search emmet.includeLanguages, then press add item under Emmet: Include Languages. input the language you are using in item field and html in value field.
image report
So as the title says there are some lines in html i don't get where there are coming from in my local files, i seriously have no idea, any help would be awesome, the line i dont get where it's comming from is the one selected on code inspector.
Thanks in advance!
If you're using Macromedia Dreamweaver, follow this guide to disable the BOM.
Go to preferences and find the New Document category and uncheck the Include Unicode Signature (BOM).
Note: You might have to copy the code to a new file after updating your preference.
Hi so I recently purchased a mac and I am trying to preview my code in safari and its not working my file is saved as .html and everytime I click the file it just shows me my top sites on safari can someone please help me!
I do not have the reputation to comment yet.
Put the file on your desktop and Get Info. Make sure in the name that the extension is .html and you can also try to check/uncheck Hide Extension and try that as well. Also double check to make sure you do not have any illegal characters in your file name.
Make sure you are not using Word or Pages. Use Text Wrangler or Sublime Text (well really any text editor that allows you to save as specific file types).
I use a Mac for all of my web coding and I have never had this issue.
Edit* If you are using an editor that allows you to choose between rich text and plain text make sure you use plain text. TextEdit is not a plain text editor either.
Load Chrome and then use its view > developer > view source menu option. Works well for me!
I'm using eclipse Juno EE IDE for Web Developers.
When I open .tml files, they don't show the correct highlighting and auto complete isn't working. I thought this looked just like it's opening it in a text editor. I right clicked the .tml file and clicked open with > HTML editor and I still don't get the correct highlighting.
This works perfectly on my PC at home, I am at work and it doesn't work properly. Please can someone give me a quick heads up on what setting is wrong? I've spent ages looking and trying different editors, but i'm sure it should just work in the html editor.
Thanks,
Edit: When I hover over the underlined closing html tag, it says "The word is not spelt correctly". It's like it's a text editor, only I did right click > open with html editor.
(If not using Tapestry Tools, as uklance mentioned)
Remember that in addition to editing Eclipse's File Association configuration in:
Window->Preferences->General->Editors->File Associations
you should add the *.tml extension in the Content Types configuration in:
Window->Preferences->General->Content Types
there you should chose html or xml and click add to add *.tml
Have you seen the Tapestry Tools eclipse plugin?
Or you can just add a file association for *.tml to the XML or HTML editors.
Another alternative is using the JSP editor and a custom tld