disable php short tags in auto-complete |
|
anyone please?
|
||||||||||||
|
Guru master
|
TBH I don't think it can be disabled. Not all suggestions are taken from config files and I guess the php tags are one of those.
|
||||||||||||
|
|
Yes, I didn't find any sign for that in the config files. but I still think it's there somewhere else.
if it can't be disabled, I at least need the Php short tags <?..?> be second and the full Php tags <?php..?> get first. I hope someone can help to figure out where and/or how to do that. thanks Blizz. |
||||||||||||
|
|
Unfortunately there isn't a way to modify the Short Tags, I agree this is a major oversight and I don't like the defaults either.
There is a workaround that is better. When you press CTRL+J you get code snippets or Code Templates as they are called in PhpED. These can be modified and new ones created. So Navigate to... Tools => Settings => Editor => Code Templates. Ensure "Neutral" is the selected Language. This will allow the tags to be inserted anywhere inside any of the other listed languages. If you select PHP as the language your shortcut key won't work if you try to use it inside td tags for example. Click Add. Name: <?php Shortcut: F12 or whatever. (CTRL+P sounds logical but that invokes printing and won't paste your snippet.) Description: PHP tags Write your code in the text area to how you want your snippet to be. Use the pipe character for cursor position. Example: <?php | ?> Click OK. Now everytime you press F12 you'll get your preferred PHP tags all on one line. |
||||||||||||
|
disable php short tags in auto-complete |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by