I got redirected to you guys.
I have realy annoying problem, cuz I cant fold functions if I have heredoc string, cuz folding based on tabulation.
https://github.com/Microsoft/vscode/issues/37494
hi, will intelephense add this as a feature?
This one is quickly noticeable when working with PHP code. Would be really awesome addition to get this implemented somehow...
I'm the author of a language that works on top of PHP, that also supports PHP syntax. I used to use TextMate, but I decided to finally write an editor extension to properly color the code, so I figured I'd switch to VSCode and build the extension there to support the larger community. I ran into this issue after only a few minutes. This is a complete roadblock, and is forcing me to abandon VSCode.
@bmewburn and how is this not priority, but enhancement?
Available as a premium feature in 1.2. https://intelephense.com
@bmewburn ok, I bought premium. How does it work? I don't see it working.
@peon501 it should work automatically as long as editor.foldingStrategy is set to auto.
@bmewburn hmm, it doesn't for me.
@peon501 can you open a new ticket with some code I can debug? Also try with other extensions disabled to rule that out.
ah I see, looks like it doesn't like to work with remote workspace extension.
It should work with vscode remote extensions. Could be a problem activating the licence on a remote workspace. Try activating locally first.
I don't know if we are on the same page.
I use liveecommerce.vscode-remote-workspace extension
to connect to FTP and create, edit move files, and directories via it in realtime.
ok this sounds like a general issue with intelephense in that it listens for file scheme only. There's another ticket open to support ftp sftp schemes.
Most helpful comment
I'm the author of a language that works on top of PHP, that also supports PHP syntax. I used to use TextMate, but I decided to finally write an editor extension to properly color the code, so I figured I'd switch to VSCode and build the extension there to support the larger community. I ran into this issue after only a few minutes. This is a complete roadblock, and is forcing me to abandon VSCode.