Comments (10)
The multiline comment snippet prefix is currently /**
not /
. There are also doc_v
and doc_f
snippets as well.
You can see all of theme here: https://github.com/atom/language-php/blob/master/snippets/language-php.cson
from language-php.
Sorry did not noticed that github converted my text into markdown. Of course i typed /**
and not just /.
I have tried with a clean Atom installation and the default config but still cant make it work.
from language-php.
Does the file you tried it in start with <?php
at the top?
from language-php.
Yes it does. I have not tried with a clean new php file with only a <?php
in the top. Still no snippit.
from language-php.
What version of Atom are you using?
from language-php.
v.0.85.0
from language-php.
Looks like i can get the snippet to work if i type /**
and press tab. That is not as it is explained in the snippet list, /**\n
from language-php.
Which snippet list are you referring to?
The prefix in the file is listed as /**
: https://github.com/atom/language-php/blob/master/snippets/language-php.cson#L18
from language-php.
I'm trying to trigger "Start Docblock" by typing /**
Apparently the trigger for the snippet to be printed is by pressing tab directly after finishing the snippet short cut.
I used sublime text before together with "spadgos" plugin "sublime-jsdocs". The snippets in that module was printed pressing enter (new line key) directly after the snippet short cut. In my point of view that is much more logical. I want a new line after i type in /**
so there for is feels more logical to press new line key then the tab key. By the logic of using tab to print the snippet it would result in
/**
and not
/**
*
as i except it to do. This might be more of matter of established habits but stil it is not a logical shortcut trigger.
from language-php.
Should be resolved with autocomplete-plus/autocomplete-snippets now being bundled in Atom.
from language-php.
Related Issues (20)
- PHP 8.1
- Function name after newline not classified correctly HOT 1
- Tokenisation of psalm array types HOT 19
- i am unable to download packages that will me code php on atom editor. please i need help.
- Colour formatting gets confused due in specific situations with comment lines and another string containing lots of commas HOT 1
- after this line the rest of the text/code is not formated
- problem with ( in qoutes HOT 7
- Can't install the latest package version 0.48 HOT 1
- Is this still maintained? HOT 4
- When SQL used within a PHP string, interpolated PHP variables remain unstyled
- Support enum keyword HOT 1
- PHP syntax highlighting does not correctly detect end of string HOT 1
- Interpolation brace style HOT 5
- Curly braces inside HTML inside HEREDOC are marked red
- PHP 8.2
- SQL syntax highlighting with leading line break
- DATE_RFC7231 constant missing HOT 1
- filter_var() Constant missing HOT 1
- php doc types not highlighted HOT 1
- Fork
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from language-php.