brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Rails/HAML support for Live Preview #9159

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by matthewbivins Friday Jan 09, 2015 at 17:32 GMT Originally opened as https://github.com/adobe/brackets/issues/10340


I love the functionality and concept of Live Preview, but it currently does not work with HAML, so I'm not sure that I can use it in a Rails project. This would be fantastic.

core-ai-bot commented 3 years ago

Comment by peterflynn Friday Jan 09, 2015 at 22:03 GMT


You can use Live Preview with your own server and still get live CSS updating & highlighting. You just won't get live HTML updating. Instructions here: Live Preview - Using your own backend.

Editing server-side HAML pages with real-time Live Preview updating is complex since HAML is a templating language that can reference server-side state that Brackets doesn't have access to. See Live HTML updating with user web server (Node, Rails, etc.) & static HTML on Brackets followed by Live Development: Live Highlight HTML Elements in Templates. Since those items are already tracked on our feature backlog, I'll close this bug to avoid duplication. Please upvote the backlog items to help raise their priority.