jps wrote:next_view / prev_view commands won't update the stack until the modifier keys are released
jps wrote:For example, it'd be nice if the PHP completions included arguments for the functions (via the snippet syntax), and if there was an HTML plugin to complete tag attributes.
<snippet>
<content><![CDATA[require '${1:file}';$0]]></content>
<tabTrigger>req</tabTrigger>
<scope>source.php</scope>
<description>require …</description>
</snippet>vostok4 wrote:Can I ask how exactly would this be best implemented?
skaet wrote:Thanks for all your hard work jps, this is definitely looking impressive!
Since we're on the subject of snippets etc, is there currently a UI available - or planned to be implemented - for me to view available snippets within a given snippet directory?
i.e. When I'm working inside PHP tags, I'd like a quick reference panel (perhaps located underneath the minimap?) where I can see a preview of PHP snippets and their associated trigger. I can then double click an item to insert, or enter the tab trigger, even right click for a context menu that allows me to edit the snippet contents, change the tab trigger, or remove the snippet completely. Being able to switch between snippet views quickly and painlessly would be nice, even dynamically updating the snippet panel when moving between different code sections within the same file (e.g. PHP <-> HTML / Javascript <-> HTML)
jps wrote:While not exactly what you're after, pressing ctrl+space without typing anything (i.e., with only whitespace or punctuation to the left of the cursor) will show a list with of valid snippets at that point.
Users browsing this forum: Exabot [Bot] and 17 guests