CodeLobster IDE

HTML tag completion in PHP files
Page 1 of 1

Author:  Alan Hope [ Fri Oct 27, 2017 9:41 am ]
Post subject:  HTML tag completion in PHP files

Is it possible to set Codelobster up to autocomplete html tags when working in a PHP file?

Some more basic code editors I have worked with, when you type, say <h1> immediately add </h1> with the cursor kept positioned between the tags.

This feature is a significant time-saver and is one thing I really miss in CodeLobster.

Author:  Alan Hope [ Fri Oct 27, 2017 11:21 am ]
Post subject:  Re: HTML tag completion in PHP files

OK, for me the snippet templates provide a nice workaround for this.

In the template editor, under "All" create a new template. Call it "h1" and put "h1>@</h1>" into the template. Now in the editor when you type "<h1" the template popup appears and hitting Enter inserts the appropriate code and positions the cursor appropriately.

I'll gradually add all the tags - some will be inline, others multiline. What a neat snippets engine.

btw Congratulations guys on a truly excellent IDE! I've got Eclipse, Visual Studio Code, Atom and Netbeans installed ... CodeLobster is looking like it will be my goto.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group