Project
PhpStorm/WebStorm
Priority
Normal
Type
Feature
State
Duplicate
Assignee
Unassigned
Subsystem
IntelliJ Platform
Fix versions
No Fix versions
Affected versions
No Affected versions
  • Created by   Trond Husø
    10 months ago (20 Jul 2011 16:12)
  • Updated by   Nikolay Matveev
    6 months ago (02 Nov 2011 23:33)
 
WI-6994 File templates: Feature Request: ${CURSOR}
4
Issue is visible to: All Users
  The issue is visible to the selected user group only
I would very much like to see the ${CURSOR} File Template variable.

What this feature shall accomplish:
When the editor see this "variable" while creating the new document/file, it shall place the cursor where this "variable" is put and not at the beginning/end of the document.

How to use it:
Insert ${CURSOR} in the document where you want the cursor to be set on creating new file

Example:
/*
* File template example
* The code in this file shall ${CURSOR}
*/
Comments (5)
 
History
 
Linked Issues (?)
 
Xiang Ong
  Xiang Ong
21 Aug 2011 23:21
9 months ago
Yes please, I really need this, can you make available ASAP?
Nikolay Matveev
  Nikolay Matveev
22 Aug 2011 10:52
9 months ago
@Xiang Ong
The issue will be fixed in PhpStorm 3.0 EAP
Xiang Ong
  Xiang Ong
22 Aug 2011 16:36
9 months ago
Thanks!
Any estimated time for when the PhpStorm 3 will be released? ^_^
Nikolay Matveev
  Nikolay Matveev
09 Sep 2011 13:05
8 months ago
@Xiang Org
PhpStorm 3.0 EAP will start soon (a week or two)
Xiang Ong
  Xiang Ong
09 Sep 2011 21:40
8 months ago
Great, can't wait to get my hands dirty. :D