-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Linux: live preview highlighting doesn't work in Sprint 30 #5050
Comments
@blazindrop do you have the Theseus extension installed? Theseus will override our default behavior and you will lose live preview highlighting. If it is installed, you can disable it from the menu File > Enable Theseus. |
@jasonsanjose I don't - here are the extensions I have enabled: brackets-code-folding (thehogfather) Is there any verbose option I can run Brackets with to get more details? Thanks! |
@blazindrop have you tried closing Chrome before launch live preview? There's a known issue with killing chrome if it's currently running. |
Yes that "Live Preview Error" dialog happens after live preview successfully connects (e.g. the lightning bolt is orange), which makes it interesting. I didn't try launching live preview with no chrome instance running, though, but I'll try that tomorrow when I'm back in Ubuntu. Thanks! |
It's working, but has to close the chrome |
Starting from scratch now..
|
Hover? You need to move the cursor to the tag or tag contents. Hopefully that is the only issue. 😄 If you still have issues, try restarting from scratch and when you hit the error again open a new tab to http://localhost:9234 to open dev tools for Brackets. |
Sorry, not hover. When I put the cursor inside my P tags there's no highlighting. I can't get the live preview error to come up anymore but here's what's in http://localhost:9234 when I click the file that I'm live previewing: |
The I don't suppose you can record a video/screencast to make sure there isn't something else I may be missing? |
I'm also having this same issue. At first I was getting the same error as blazindrop above and then I killed all the Chrome processes and then restarted Brackets and then opened Chrome by clicking on the Live Preview menu option. Everything seems to be fine until I edit and try to save the test index.html file. I also have no plugins installed. |
your have permission of write on this directory 2013/9/15 Daniel Alan Miller [email protected]
|
@nayosx Thank you! I'm quite ashamed I didn't think of that. I then ask why the sample .html file is then auto installed to a location which isn't user writeable by default? |
I recommend you change the directory as shown in pictures [image: Imágenes integradas 1] 2013/9/15 Daniel Alan Miller [email protected]
|
@dalanmiller Open terminal, run ... chmod 777 -R /path/to/directory/Hug |
@dalanmiller Sounds like a different bug than the original post. I'll file a new bug about the permissions on the getting started page. Thanks! |
@dalanmiller filed your bug as #5225 |
Can you try |
I think I figured out what is wrong. There appears to be a quirk in Live Preview. When I launch LP for the first time, there is NO highlighting of the tag that my cursor is in. As soon as the cursor enters a new tag, highlighting kicks in and works just fine. Can you try the steps:
|
Can anyone reproduce this with Sprint 33 or 34? We changed how Chrome/Chromium is launched on Linux to use a separate profile, details here adobe/brackets-shell#342. |
I am using Sprint 34.1 on Ubuntu 13.10. When I run Live Preview on an HTML file from my Open Folder tree, I have not been able to reproduce any error messages described above, and things tend to be working as expected. Hover selection and real time updates are working. If I were to switch to a different HTML file within the Open Folder tree, the LP tab closes and immediately opens a LP tab for the HTML file I just switched to. However, if I create a new HTML file and save it somewhere else on the file system, LP does not seem to work. The LP tab does come up and I can see the current state of my HTML file, but there is no highlighting and updates to the file are only shown in the LP tab after a save. Let me know if you need me to capture any specific information from the developer tools. |
@klbinns That's currently the expected behavior, but we should probably improve the error message wording or otherwise tweak the UI to make that more obvious. Can you file a new bug on this so we can sort it out? Thanks! |
The original issue filed by @blazindrop sounds like #5975. Live preview only works for files in the current project (the open folder). Closing this as a duplicate. |
I see live preview highlighting is in the release notes for Sprint 30 with the caveat it's not stable. I'm reporting this issue because it does not work at all.
I'm using Google Chrome 29.0.1547.65 on Ubuntu 12.10. My uname string:
Linux ubuntu12 3.5.0-39-generic #60-Ubuntu SMP Tue Aug 13 18:33:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I do have google chrome launched from the command line using:
Steps to reproduce:
What else can I do to help troubleshoot?
The text was updated successfully, but these errors were encountered: