Netbeans code folding for HTML files? - macos

I've looked for anything about how to fold the code down in HTML files using Netbeans. Does anyone know? I'm on a Mac using Netbeans 7.1.1 and I've already hit up the Preferences>General area... am I missing something here? Any help for this newbie would be greatly appreciated.

Code folding is already enabled on elements in an HTML file. You can collapse the individual tags, or groups of tags.

Related

Ace editor / embed multiple syntax highlight

I'm using ace editor with "html" mode for web programming as a web IDE. I can highlight code for HTMl, CSS and JavaScript. It works nicely. This is my code:
editor.getSession().setMode('ace/mode/html');
I'd like to embed coffeescript and typescript syntax highlight too when using the
<script type='text/coffeescript'>
and
<script type='text/typescript'>
tags on the page. Ace does have modes for these languages but they are separate files (mode-coffee.js and mode-typescript.js) and I don't know how I could embed these into mode-html.js. The code is rather complicated.
Could you kindly help me out? I've been studying these files for several hours now and I'd appreciate any help. Thank you.
This is currently not possible. We are looking into adding this as a feature, which is being tracked by a GitHub issue here.

Tiny MCE v2.1 code editor

Call me old fashioned, but there is nothing I can do but only to use the old version of Tiny MCE, which is 2.1.
So, what I'm trying to do is to add a "download" attribute to tag, after I open HTML editor I type this attribute, when saving it simply disappears. There is no official documentation to this old version on the official site. The new ones doesn't mention anything about this feature at all. overall editor look. code editor look
Also, I tried to add "download" in the extended valid elements configuration:
extended_valid_elements: "code[class|dir ,however no success as well.
Did anyone by any chance faced the same problem?
Could use a little bit of help.
Well, if anyone ever encounters the same problem, which I highly doubt, you would need to open tiny_mce.js file, and on the line 1928 there will be "A : "id|class|style|title|download" ", this is the place, where I added "download". Afterwards I was able to add this attribute in the HTML code editor.

Issue with more than two linters working on sublime 3

I'm running sublime 3084 OSX 10.10.3 and i have three tabs open, one html document, one css and one javascript file. I have linters for all three installed but whenever I open the program only the css linter (csslint) and either the html or the javascript linter, but not both, work. If I open the program with the javascript tab open, that linter works. If I open the program with the html document open, that linter works. csslint works regardless. Does anyone know of this issue or possible bug? If so I would greatly appreciate some help, it's really frustrating.
Thanks in advance

Finding the file that is being loaded on the fly in joomla

im using a joomla template in my localhost. I would like to edit one of the on-screen module's position. i used chrome and firefox to inspect the elements and even changed the properties. it works the way i want, but the problem is, im not sure where these actual files are residing in my localhost. There are 100s of files and its frustrating there isn't an easy way to find out the exact file that i have to edit.
I understand that joomla contents are generated on the fly and thus it isn't easy to find the exact file. I have also seen some of the past related questions in stackoverflow.com, asked by desperate users like myself, nothing works.
Im hoping someone knows of a tool or a trick that can help me. I even tried indexing the localhost folder (c:\wamp\www\demo) to search file contents, it doesn't seem to work for some reason.
Pls help.
The position of the module is almost certainly determined only by the css in your template. Using web inspector in Firefox or Chrome you can see which file (and the file path) of any styles that are currently being applied to the module, so you can simply modify the rules in that files.
I love Mac
Since my files are in the localhost, i have been trying to search for the div class that is generated on the fly, but my pc couldn't thoroughly search the contents of the file.
On my mac, i searched for the div class word and hey! it showed me a list of files that contained the div class and i found the file in a matter of seconds! how cool is that!!
Thanks Guys, hope this helps someone too!

Formatting Microformat Umlauts broken in Firefox Operator Plugin

Did anybody successfully manage to correctly export a vcard from a Website containing Microformats (hcard) with this Firefox Plugin?
When doing so, I end up with weird characters instead of (german/spanish) Umlauts. While it's really easy to provide vcards as well, I would like to know if someone managed to correct the charset/character problems I am experiencing.
Does your document + hcard validates?

Resources