Notepad++ - HTML on new document?

Show off new creations, get help, or just chat about all aspects of web development and design.

Notepad++ - HTML on new document?

Postby Psy on Wed Aug 26, 2009 5:37 pm

Is there anyway to set up Notepad++ so when a new document is made it has all the HTML content you would usually expect there (the tags, doctypes, etc) all ready to be used?
User avatar
Psy
Veteran
Veteran
 
Joined: Sat Dec 03, 2005 5:41 pm
Location: United Kingdom

Re: Notepad++ - HTML on new document?

Postby Blink on Wed Aug 26, 2009 6:19 pm

Do you mean like a page template?
User avatar
Blink
Cool 'n that
Cool 'n that
 
Joined: Fri Oct 08, 2004 4:16 pm
Location: UK

Re: Notepad++ - HTML on new document?

Postby Psy on Wed Aug 26, 2009 7:22 pm

Exactly that.
User avatar
Psy
Veteran
Veteran
 
Joined: Sat Dec 03, 2005 5:41 pm
Location: United Kingdom

Re: Notepad++ - HTML on new document?

Postby abathor on Wed Aug 26, 2009 10:37 pm

Psy wrote:Exactly that.


Um, why not just create a template html file that you copy and edit?
User avatar
abathor
1337 p0st3r
1337 p0st3r
 
Joined: Mon Dec 18, 2006 6:02 pm
Location: England

Re: Notepad++ - HTML on new document?

Postby windlab on Thu Aug 27, 2009 12:26 am

I think this may be able to help: aztecpassage.blogspot.com

Also, Notepad++ rocks! I don't know how I'd manage without it.
User avatar
windlab
Regular
Regular
 
Joined: Sat Nov 01, 2008 1:08 pm

Re: Notepad++ - HTML on new document?

Postby ovary on Thu Aug 27, 2009 7:13 am

If you claim it's so awesome why doesn't it have that option built in. I've never used it so maybe I'm wrong. Download Aptana studio it's got a free version and will come in handy for more complex stuff as well. If you create an html file or .css it will give you the basic tags that you need to begin with. You can also download plugins for other stuff. Enjoy!

http://aptana.com/studio/download
User avatar
ovary
Regular
Regular
 
Joined: Wed Feb 14, 2007 11:55 pm

Re: Notepad++ - HTML on new document?

Postby Blink on Thu Aug 27, 2009 8:45 am

It is built in. The way I do it is set-up my HTML that I want on a new page and then start recording a new macro. Paste the code in and then stop recording. Save the macro and assign it to a hot key and it will work every time
User avatar
Blink
Cool 'n that
Cool 'n that
 
Joined: Fri Oct 08, 2004 4:16 pm
Location: UK

Re: Notepad++ - HTML on new document?

Postby windlab on Thu Aug 27, 2009 10:14 am

Blink wrote:It is built in. The way I do it is set-up my HTML that I want on a new page and then start recording a new macro. Paste the code in and then stop recording. Save the macro and assign it to a hot key and it will work every time
I suspected it already had it built-in, but I hadn't bothered finding out since I created a default HTML and CSS template to start each new project.
I'll give that a try though, sounds interesting.
User avatar
windlab
Regular
Regular
 
Joined: Sat Nov 01, 2008 1:08 pm

Re: Notepad++ - HTML on new document?

Postby Blink on Thu Aug 27, 2009 12:56 pm

I prefer this plugin for Notepad++ - http://sourceforge.net/projects/quicktext/

It doesn't come with the program but once installed you can type 'html' and it will render the whole template for you. It works for other shortcuts like p or span. It can be customised as well.

Well worth trying
User avatar
Blink
Cool 'n that
Cool 'n that
 
Joined: Fri Oct 08, 2004 4:16 pm
Location: UK

Re: Notepad++ - HTML on new document?

Postby Psy on Thu Aug 27, 2009 5:32 pm

Excellent. Works a treat. Thanks. :)
User avatar
Psy
Veteran
Veteran
 
Joined: Sat Dec 03, 2005 5:41 pm
Location: United Kingdom

Return to Web Design & Development

Who is online

Users browsing this forum: No registered users