Comments (4)
+1 Is this going to get fixed soon? It's rather annoying to have to manually change the file type to PHP so often.
from language-php.
I would say the autodetect feature is actually getting worse. Using Atom 0.165.0 I had no problem opening php files, with or without embeded html. It would also correctly detect .ctp
files as php without any intervention on my part.
I just installed Atom 0.174.0 and now even some files with a .php
extension, that only have php contents are identified as Plain Text
. .ctp
files are always detected as Plain Text
. If I change the grammar to PHP, it will only last for that session. Next time I open Atom it's back to Plain Text
.
from language-php.
Ok, so I probably had some problem in another package that was preventing PHP files from working correctly. I did a clean reinstall of everything (removing all previous user settings) and now PHP support it seems to be working properly with the latest Atom version.
from language-php.
Fixed in 1.4.0-beta0
@50Wliu perhaps you or someone else can close this and related issues #48, #101
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.