Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Code Style #11

Open
yvanavermaet opened this issue Jan 24, 2017 · 4 comments
Open

Support for Code Style #11

yvanavermaet opened this issue Jan 24, 2017 · 4 comments

Comments

@yvanavermaet
Copy link

Hi

I'm experimenting with Pebble and found your plugin. I saw you already had an issue about autocompletion, thx for working on it!

I was wondering if it would be possible for the peb (and .html.peb, ...)-extension to use the same Code Style's as HTML?

Kind regards,
Yannick

@bjansen bjansen modified the milestone: 0.3 Feb 6, 2017
@bjansen
Copy link
Owner

bjansen commented Aug 30, 2017

I think there are actually two features to implement:

  • format the templated language parts (HTML, etc.) according to the language's own code style settings
  • format Pebble parts according to Pebble code style settings (which I have to make configurable in the project settings)

@bjansen
Copy link
Owner

bjansen commented Sep 4, 2017

The plugin will now let the IDE reformat the templated parts. I still need to add a formatter for Pebble expressions. I uploaded a snapshot of the next version here (in the 'Nightly' tab), if you want to test the current version of the plugin.

@bjansen bjansen modified the milestones: 0.3, 0.4 Sep 10, 2017
@leveluptor
Copy link

@bjansen just wanted to thank you for the plugin. I had a problem with Pebble+XML templates: IDE recognized XML syntax only partially and didn't allow me to collapse/expand XML tags. Stumbled upon this discussion, installed 0.3 snapshot and looks like the problem is gone :)

@bjansen
Copy link
Owner

bjansen commented Oct 27, 2017

Oh well I guess I definitely need to release that version, then :)
Thanks for your feedback, and please let me know if you encounter other issues.

@bjansen bjansen modified the milestones: 0.4, 0.5 Nov 6, 2017
@bjansen bjansen modified the milestones: 0.5, 0.6 Mar 29, 2019
@bjansen bjansen removed this from the 0.6 milestone Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants