Ошибка запуска браузера brackets

В Brackets не работает Live Preview, кто то сталкивался с этим? как это решить?
вношу изменения в коде, а они не отображаются автоматически. Только если обновить страницу браузера.

Kromster's user avatar

Kromster

13.2k12 золотых знаков41 серебряный знак70 бронзовых знаков

задан 9 сен 2015 в 9:06

Denis Korytkin's user avatar

Denis KorytkinDenis Korytkin

571 золотой знак1 серебряный знак9 бронзовых знаков

1

если я правильно понял, Live Preview в Brackets работает только если HTML файл был создан в редакторе.

ответ дан 22 сен 2015 в 17:04

Denis Korytkin's user avatar

Denis KorytkinDenis Korytkin

571 золотой знак1 серебряный знак9 бронзовых знаков

1

Для того чтобы всё работало, в боковой панели нужно открыть директорию с сайтом/проектом.

ответ дан 14 апр 2016 в 7:07

Denis's user avatar

В моём случае, проблема решилась временным назначением браузера Chrome по-умолчанию. После вернул Opera обратно. Дальше редактор уже находил браузер Chrome нормально.
До этого, редактор Brackets, так и ругался, что не мог найти Chrome в системе Windows.

PS: Вопрос хоть и старый, но находится в топе Google, по-этому написал здесь

ответ дан 26 ноя 2016 в 21:47

AlexBrtn's user avatar

Live Preview работает только с Google Chrome. Перестает работать если в браузере вызваны инструменты разработчика по Ctrl-Shift-I или F12. Чтобы Live Preview снова заработал нужно просто опять в Brackets при выбранном HTML файле нажать Ctrl-Alt-P либо же кликнуть мышкой по значку молнии на боковой панели в правом верхнем углу редактора.

ответ дан 1 ноя 2016 в 22:26

Iurii Golskyi's user avatar

Iurii GolskyiIurii Golskyi

7421 золотой знак9 серебряных знаков20 бронзовых знаков

Надо в меню Brackets Отладка вызвать Перезагрузить с расширениями F5

ответ дан 23 апр 2017 в 21:12

Данила Коловрат's user avatar

1

Просто запусти хром в соседнем с редактором окне, а встроенное окно просмотра в самом редакторе закрой. И будет тебе счастье…

ответ дан 2 сен 2022 в 8:09

Михаил Маторин's user avatar

«Ошибка запуска браузера
Произошла ошибка при запуске браузера. (ошибка неизвестна) Дополнительную информацию см. в разделе «Устранение неполадок при подключении к Live Preview».

Эта ошибка возникает после новой установки с первой пробной страницей. Chrome уже установлен (но после того, как я установил Brackets).

Как я могу начать решать это?

F Live Preview
Linux only

Все 22 Комментарий

спринт 37 экспериментальная сборка 0.37.0-0

Linux 3.10.33-2-MANJARO #1 SMP Вт 18 марта 20:18:14 UTC 2014 i686 GNU/Linux

@andruska Можете ли вы перейти в _Отладка > Показать инструменты разработчика_ и посмотреть в журнале консоли дополнительные сообщения об ошибках? Там должна быть более подробная ошибка, зарегистрированная там.

Пункт меню _Отладка > Показать инструменты разработчика_ не дает никакой обратной связи, консоль не появляется. Также при нажатии _F12_.

Когда Chrome остается открытым (до запуска Brackets) и перезагрузка без расширения не дает никакого эффекта (для Live Preview).

@andruska Я не уверен, что вы подразумеваете под «консоль не появляется» — пользовательский интерфейс инструментов разработчика не открывается в новой вкладке Chrome, когда вы выбираете этот пункт меню? Или вкладка открывается, но там пусто?

Если последнее, установлено ли на вашем компьютере какое-либо программное обеспечение безопасности/брандмауэра? Возможно, это блокирует все соединения сокетов в процессе Brackets, что нарушит работу как Live Preview, так и инструментов разработки — см. #6282. Можете ли вы попробовать временно отключить защитное программное обеспечение, чтобы проверить, не является ли оно причиной проблемы?

@peterflynn При выборе _Debug > Show Developer Tools_ или нажатии _F12_ на экране вообще нет никаких эффектов или изменений. Даже если Chrome и Brackets открыты, а FW отключен. Нет интерфейса инструментов или новой вкладки в Chrome.

@andruska Интересно, похоже, что Brackets просто не может найти и запустить Chrome вообще. Какую командную строку вы бы использовали для запуска Chrome с терминала на вашем компьютере? Работает ли просто набор google-chrome из любой папки?

@peterflynn Теперь проблемы с _Live preview_ и _Show Developer Tools_ кажутся решенными. Проблемы, вызванные символической ссылкой /bin/google-chrome-stable . /bin/google-chrome правильно.
Спасибо Питер!

Рад слышать это! Закрытие, так как проблема решена.

Если можно, не могли бы вы опубликовать немного больше подробностей о том, что вы изменили, чтобы заставить его работать? Может быть полезно для других, которые сталкиваются с той же проблемой.

У меня тоже самое, не могли бы вы помочь мне в этом @andruska

Возможно, вам нужно изменить символическую ссылку на исполняемый файл _Chrome_ в каталоге /bin . Изменение /bin/google-chrome-stable на /bin/google-chrome решило мою проблему.

Большое спасибо за эту тему!

Я столкнулся с той же проблемой. На моем компьютере с Arch Linux я заново установил пакет скобок-bin, а затем установил пакет google-chrome (оба из AUR). При попытке запустить Live Preview все, что я получил, это диалоговое окно с сообщением «Произошла ошибка при запуске браузера (ошибка неизвестна) …»

Это уже существующая символическая ссылка, которую я нашел в каталоге bin:
/bin/google-chrome-stable -> /opt/google/chrome/google-chrome

Я могу подтвердить, что добавление второй символической ссылки
/bin/google-chrome -> /opt/google/chrome/google-chrome
решает проблему. Запуск Live Preview работает как шарм.

Кажется, это дело Arch.

Просто для уточнения:

ln -s /opt/google/chrome/google-chrome /bin/google-chrome

Примечание: вам, вероятно, нужно будет запустить как root

Это добавляет правильную символическую ссылку. Подтверждена работающая Linux 3.17.4-1 MANJARO

Спасибо…. этот форум решил мою проблему….

Steezeburger, молодец!!! Спасибо!

@steezeburger Спасибо!!! Это работает!

@GreenRobot777 , я столкнулся с той же проблемой, но не могу понять, как найти каталог bin; не могли бы вы рассказать мне, как решить эту проблему подробно?

@danranwf Я использовал полные пути в своем фрагменте, так что он должен работать. /bin — это место, где вы создаете символическую ссылку. Вы не найдете там Chrome до запуска этой команды.

Привет,
Я не технический парень и понятия не имею, как вы, ребята, меняете каталог /bin — и я, честно говоря, не знаю, что это такое. Но когда я пробую предварительный просмотр в реальном времени, он говорит мне, что не может найти Chrome, хотя у меня установлен Chrome Canary (обычный Chrome дает сбой на моем компьютере). Может ли кто-нибудь помочь мне с тем, как выполнить исправление / bin? Я даже не знаю, с чего начать, чтобы даже это сделать.

@ bhill010 Как правило, для Live Preview поддерживается только стабильный Chrome. К вашему сведению, канареечная и стабильная версии постоянно меняются, поэтому вы можете попробовать последнюю стабильную версию.

Если вы по-прежнему не можете запустить стабильный Chrome, попробуйте включить _Файл > Включить экспериментальный предварительный просмотр в реальном времени_, который работает в любом браузере. Я открывается в вашем браузере по умолчанию, и вы можете вставить URL-адрес в любой другой браузер.

Отлично, протестировано с Manjaro 4, Chrome 54 и Brackets 1.8, вам нужно только создать символическую ссылку:

sudo ln -s / bin / google-chrome-stable / bin / google-chrome

Также могу подтвердить, что команда «sudo ln -s …» для создания символической ссылки в /bin работает в последней версии Solus (2017.01.01.0). Всем спасибо!

Был рад найти это, так как это помогло исправить мои проблемы. Следует отметить одну вещь: нетрадиционно создавать символические ссылки в /bin для несистемного программного обеспечения.
sudo ln -s /opt/google/chrome/google-chrome/usr/local/bin/google-chrome
создаст соответствующую символическую ссылку в Arch Linux и сохранит символическую ссылку в стандартном месте.

Была ли эта страница полезной?

0 / 5 — 0 рейтинги

⚠️ On September 1, 2021, Adobe will end support for Brackets. If you would like to continue using, maintaining, and improving Brackets, you may fork the project on GitHub. Through Adobe’s partnership with Microsoft, we encourage users to migrate to Visual Studio Code, Microsoft’s free code editor built on open source.

Brackets not working for you? Maybe the following will help:

  • Having trouble installing Brackets?
  • Brackets not launching?
  • Having trouble with Live Preview?

    • Live Editing
    • Page Not Loading
    • Using a Local Server
    • Chrome Issues
    • Experimental MultiBrowser implementation
    • Other Live Preview Issues
  • Is Brackets running slowly?
  • Having trouble installing extensions?
  • Other: Brackets Is Acting Weird

Other information that may help you:

  • What are Brackets’ system requirements?
  • How do I associate an extension with a type of file?

Question not yet answered?

System Requirements

  • Mac OSX 10.11, 10.12, 10.13, 10.14
  • Windows 7 with Service Pack 1, Windows 8.1, or Windows 10 (installer requires administrator access)
  • Linux Ubuntu 16.04, 18.04, 18.10 (x32 and x64)
  • Linux Debian 8, 9
  • At least 2 GB of RAM for Live Development

Can’t Install Brackets

Windows Vista: Nothing happens when launching installer

Some Windows Vista computers will block installers downloaded from the Internet, so nothing at all happens when you try to run the installer. To work around this: right-click the installer file, choose Properties, and click the Unblock button.

Windows error: «Installation directory must be on a local drive»

This can happen on some Windows machines. To work around this, try executing the installer from an elevated command prompt:

  1. Open an elevated command prompt using one of the techniques on this page: http://www.sevenforums.com/tutorials/783-elevated-command-prompt.html
  2. cd to the folder containing the installer.
  3. Run the installer using msiexec, e.g.: msiexec /i "brackets-sprint-xx-WIN.msi" (where «xx» is the sprint number)

Windows: Installer stuck on 0% progress

There may be a long delay at the start of the installation process as Windows checks, prepares, and displays the UAC prompt. During this delay, you will see the «Installing Brackets» — «Please wait while Brackets is installed» page of the installer but with 0% progress. The length of this delay may vary, depending on your individual system.

Can’t Launch Brackets

Clear The Cache

If you had previously used Brackets, your cache may have information that is conflicting with the most recent version. Find your cache folder and delete the cache. Warning: this will reset all of your Brackets preferences.

Check the File Permissions

If Brackets won’t launch, check the permissions of the main executable files (e.g. using ls -l). On Mac:

  • bin/mac/Brackets.app should be drwxr-xr-x
  • bin/mac/Brackets.app/Contents/MacOS/Brackets should be -rwxr-xr-x

To fix permissions, use a command like chmod +x bin/mac/Brackets.app/Contents/MacOS/Brackets.

Run Brackets From The Command Line

Next, try running Brackets from the command line. Open up a Terminal (or Command Prompt in Windows), navigate to the executable, and run Brackets. (On Mac, type open bin/mac/Brackets.app.). Did an error appear? If so, file an issue or find us on IRC or the mailing list and we’ll try to figure it out.

Linux: libudev.so.0 Error

This may happen when trying to run 32-bit Brackets on 64-bit Linux. Please verify that you’ve downloaded the correct build.

Linux: GLIBC_2.14 Error

This occurs when trying to run Brackets on Debian 7 (Wheezy). Brackets currently requires Debian 8 (Jessie). (But for some potential workarounds, see issue #4816).

Live Preview Isn’t Working

Live Editing

CSS, HTML, and JavaScript

Currently, Live Development works differently for different types of files:

  • For CSS, all changes are applied in the browser immediately as you type, without reloading the page.
    • CSS preprocessors are not currently supported — they are treated as «other file types» below
  • For HTML, most changes are applied in the browser immediately as you type. Updating pauses when the page is syntactically invalid (e.g. after you type ‘<‘ for a new tag but before you type the closing ‘>’). The line number and Live Preview icon turn red, and the tooltip says «not updating due to syntax error«. Brackets will resume pushing changes to the browser when syntax becomes valid again.
    • HTML live updating is disabled if you’ve specified a custom server URL in Project Settings.
  • For JavaScript and other external file types, when you save your changes, the page is reloaded to reflect your changes. For embedded JS, you will need to reload browser.

See How to Use Brackets for more details.

Files should be in Current Project

You can use File > Open to open any file on your computer, but Brackets’ definition of a project are the files in the folder opened using File > Open Folder.... Some (but not all) Live Development features require a node server, which means being in the current project, so make sure the files that you want to use with Live Development are in the current project.

HTML File should be in Working Set

There is a known issue (which is fixed in release 0.43) that if HTML file is in project tree (i.e. not in Working Set), then element highlighting stops working after switching to a CSS (or other?) file and then back to the HTML file. The workaround is to double-click HTML file so it’s added to the Working Set.

Live CSS is not working

Updating CSS in Live Preview does not seem to work if <link> has type=»text/css», so try removing it.

Known issues:

  • Bug #7935: Live CSS does not update if page contains an iframe (including injected iframes such as ads or social media buttons).

HTML Page is not Updating in Browser as you Type

If you are using your own local server, HTML will not update live (see documentation).

Brackets pauses sending updates to browser when it detects an HTML Syntax Error. In this case, it should color the line number in red (but this can be scrolled out of view) so scroll through entire page to verify that there are no highlighted line numbers.

The Live Preview lightning bolt icon should be also colored red and have a tooltip of «Live Preview (not updating due to syntax error)» in this case, but there’s a known bug being tracked as issue #7126 where this sometimes doesn’t happen. See issue #7126 for an illustrated description including the line number and icon coloring.

Other known issues:

  • Bug #5338: Live Preview can never update if initially launched with syntax error — after fixing a syntax error, try stopping and restarting Live Preview.

Live Preview Page not loading

  • If you specified a «Base URL,» make sure your local server is already running — Brackets will not start it for you.
  • Make sure you are not running firewall, network security, or antivirus software that is blocking the connection (try disabling it temporarily to check)
  • Make sure you haven’t modified your hosts file to remap localhost or 127.0.0.1
  • Try shutting down background apps in Chrome. In Chrome, go to Settings > Advanced Settings and then uncheck the «Continue running background apps when Google Chrome is closed» setting.

Using a Local Server with Live Preview

To use a local server, you need to specify a Base URL in the File > Project Settings... dialog (see How to Use Brackets for details).

If you’re using a local server and are seeing these messages such as «Oops! Google Chrome could not connect to localhost:[port]» (in Chrome) or «Unable to load Live Development page» (in Brackets), verify that your local server has been started.

As noted above, live HTML updating is disabled when using your own custom local server.

Live Preview Chrome Issues

Stable Chrome

Brackets is verified with the current stable Chrome. If chrome is not configured to automatically update to the latest version, then be sure to check for updates. It usually works with current beta, dev, or canary versions of Chrome, but if you are having a problem switch back to stable Chrome before opening an issue.

Install Chrome For Multiple User Accounts

Windows Only

If you get the error An error occurred when launching the browser. (error 2) when doing Live Development, installing Chrome for multiple user accounts may solve the issue.

Check Windows Registry

If Brackets cannot launch the Chrome browser on your Windows system, check the Registry setting here:

  • HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp Pathschrome.exe

This is the file path that Brackets uses to launch Chrome. If this is not correct, then try reinstalling the Chrome browser at this location.

Uninstall/Reinstall Chrome

When uninstalling Google Chrome on Windows, some users have reported problems with Registry settings that are not removed. If uninstalling and reinstalling Chrome still does not fix problem, try deleting Registry settings in the following locations before re-installling:

  • HKEY_CURRENT_USERSOFTWAREGoogleChrome
  • HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome

Warning: Editing the Windows Registry can easily cause problems with your system, so edit it manually at your own risk. Another option is to use a tool such as Revo Uninstaller to uninstall Chrome.

Keep Chrome Open

Try leaving an extra blank tab open in the instance of Chrome that is launched by Live Preview. This prevents Chrome from shutting down and restarting between each file, so Live Preview will launch faster; this may reduce some intermittent errors.

Restart Your Computer

If you keep getting errors when trying to launch Chrome, or if you keep getting prompted to restart Chrome, try rebooting your machine. Rebooting has resolved many odd issues with Live Development.

Re-install Brackets

On Windows, you may run into issues starting Live Preview if you installed Chrome after installing Brackets. In that case, re-installing Brackets should fix the problem.

Issues with multi-browser experimental implementation

This section describes known issues and work-arounds specific to Multi-Browser Live Preview.

Multi-browser Live Preview does not work with Internet Explorer 11

In order to make it work with Internet Explorer 11, disable all the options that IE uses to include sites in the local intranet (unchecked all the items at Internet Options > Security > Local Intranet > Sites). This will allow Live Preview to establish connection to the editor.

Other Live Preview issues

Disable Extensions

Use Debug > Reload Without Extensions to quickly see if the problem is being caused by an extension.

The Theseus[1][2] and CSS Shapes Editor[3] extensions are known to cause problems with Live Preview, and other extensions could potentially interfere also.

Clear Live Preview Profile/Cache

Choose Help > Show Extensions Folder, go up one level to the parent folder, and remove the ‘live-dev-profile’ folder. This will not affect any Brackets settings, but may clear up Live Preview problems.

Brackets is Running Slow

This section discusses some of the features that can affect performance and possible solutions.

Activity Monitor

On Mac OS 10.9 (Mavericks), Activity Monitor will say the Brackets Helper process is «Not Responding» even when it is working normally (bug #5794). You can safely ignore this unless Brackets is actually failing to respond when you click or type text.

Extensions

Most Brackets extensions don’t impact performance, but some may slow down Brackets (for example Show Whitespace can cause slow typing performance). Try Debug > Reload Without Extensions to quickly check if the problem is being caused by an extension.

File Searching

Using «Find in Files» and «JS Code Hinting» can be slow because of the number of files that are searched. You can try installing the experimental Exclude Folders extension to limit the number of folders that are searched.

Highlight Active Line

This feature can negatively impact scrolling performance, so try turning it off with: View > Highlight Active Line

JavaScript Code Hinting

Collecting the information required to build the JS code hint lists can slow down Brackets. Start by reading the Configuration section of the JavaScript Code Hints guide.

You can disable the hints by moving the JavaScriptCodeHints folder out of www/extensions/default (installed version) or src/extensions/default (Git source) folder and into the extensions/disabled folder, and restarting Brackets.

Having trouble installing extensions?

Working behind proxy

If your computer needs to use a proxy to get to the web, you’ll need to configure Brackets to use it. Use Debug > Open Preferences File and then add a "proxy" property to the JSON file. The value should be the URL of your proxy server. Read more about configuring Preferences.

You can also install extensions manually:

  1. Find the extension in the online Extension Registry
  2. Click the name of the extension to download it as a zip file
  3. In Brackets, open Extension Manager
  4. Drag the zip file onto the «Drag .zip here» zone in the lower left of the window

Check localhost IP

Make sure your localhost address resolves correctly, normally it should resolve to 127.0.0.1. You can do it by executing ping localhost from the command line. If it fails, add the following entry to your hosts file:

hosts file is /etc/hosts on Mac and Linux. On Windows it’s located in %windir%system32driversetchosts

Other: Brackets Is Acting Weird

Preferences are Not Saved

Your preferences may have become corrupt. Follow these instructions to delete your preferences and cache folder: https://github.com/adobe/brackets/wiki/Cache-Folder#resetting-cache—preferences.

Disable All Extensions

Use Debug > Reload Without Extensions to quickly check whether the problem is being caused by an extension. To re-enable your extensions, just quit and relaunch Brackets, or choose Debug > Reload With Extensions.

If this fixes the problem, you can identify the problematic extension by re-enabling extensions one-by-one:

Disabling extensions individually

  1. Start with all extensions disabled: Choose Help > Show Extensions Folder and move all extensions from the «user» folder into the «disabled» folder (this is similar to what Debug > Reload Without Extensions does).
  2. Move one extension back into the «user» folder, then quit and re-launch Brackets.
  3. Check if the problem has come back. If not, repeat step 2.

Binary Reduction: The previous method tests one extension at a time. This works for a small number of extensions but is slow if you have a lot of extensions. Instead, you can test half of your remaining extensions at a time. You’re done when you only have 1 extension being tested. As above, you have to quit and re-launch Brackets between each test.

Note: to make it easier to manage which extensions you have tested, create a third folder named «disabled-verified» for extensions which have been verified to not cause the problem.

  1. (same as above)
  2. Move half (doesn’t need to be exact) of your extensions from the «disabled» folder to the «user» folder.
  3. If you do not see the problem, move all of the extensions in the «user» folder to the «disabled-verified» folder. Repeat step 2.
  4. Otherwise you do see problem, so move all extensions from «disabled» folder to «disabled-verified» folder. Then move half of your extensions from «user» folder back to «disabled» folder. Repeat step 3.

Once you have identified the problematic extension, move all extensions from «disabled-verified» folder back to «user» folder.

Alternative: Select Debug > Show Developer Tools and look at the console. If an error message is present, it may have a link to the code that is failing, which in turn may point out a specific extension.

Debug with Developer Tools

Choose Debug > Show Developer Tools to open an instance of the Developer Tools for Brackets. If you’ve used the Developer Tools in Chrome this will look familiar. Check the Console tab for errors.

Can’t Paste Text Into Brackets

There’s a known issue with the Webroot Identity Shield software blocking Paste in Brackets. If you’re running Webroot, try the workarounds on their support page. (Fully up-to-date Webroot should no longer treat Brackets as «unknown»; try reinstalling to update your copy).

How do I associate an extension with a type of file?

Let’s say you want «.inc» files to be treated like «.php» files. To do this, open an «.inc» file and click the dropdown in the lower-right (for unrecognized files it will say «Text»). Choose the desired file type (e.g. «PHP»), then open the dropdown again and choose «Set as Default for .inc Files.»

You can also edit the language.fileExtensions preference directly.

Error reading preferences file (release 37)

In Brackets release 37, there’s a known issue in which an empty preferences file could cause Brackets to display an error message on startup. If you see this error, Brackets will still start and will open the (empty) preferences file into the editor. Follow these steps, and you’ll be all set:

  1. Type this into the editor:
    {}
  2. Save
  3. Quit and restart Brackets

Starting with Brackets 36, we’ve added a bunch of preferences that let you tailor how Brackets works for you. Read more on the How To Use Brackets page.

The bug described here is fixed in Brackets 38.

Still Having a Problem?

  • File an issue — be sure to include as many details as possible (see link for specific guidelines)
  • Contact us on Slack (request an invite first) or via one of the other channels mentioned in the README

Brackets not working for you? Maybe the following will help:

  • Having trouble installing Brackets?
  • Brackets not launching?
  • Having trouble with Live Preview?
    • Live Editing
    • Page Not Loading
    • Using a Local Server
    • Chrome Issues
    • Experimental MultiBrowser implementation
    • Other Live Preview Issues
  • Is Brackets running slowly?
  • Having trouble installing extensions?
  • Other: Brackets Is Acting Weird

Other information that may help you:

  • What are Brackets’ system requirements?
  • How do I associate an extension with a type of file?

Question not yet answered?

System Requirements

  • Mac OSX 10.6.8 or newer
  • Windows Vista, 7, or 8/8.1 (x32 and x64) (installer requires administrator access)
  • Linux Ubuntu 12.04 or newer (x32 and x64)
  • Debian Linux 8 or newer (for Debian 7 compatibility see issue #4816)
  • At least 2 GB of RAM for Live Development

Can’t Install Brackets

Windows Vista: Nothing happens when launching installer

Some Windows Vista computers will block installers downloaded from the Internet, so nothing at all happens when you try to run the installer. To work around this: right-click the installer file, choose Properties, and click the Unblock button.

Windows error: «Installation directory must be on a local drive»

This can happen on some Windows machines. To work around this, try executing the installer from an elevated command prompt:

  1. Open an elevated command prompt using one of the techniques on this page: http://www.sevenforums.com/tutorials/783-elevated-command-prompt.html
  2. cd to the folder containing the installer.
  3. Run the installer using msiexec, e.g.: msiexec /i "brackets-sprint-xx-WIN.msi" (where «xx» is the sprint number)

Windows: Installer stuck on 0% progress

There may be a long delay at the start of the installation process as Windows checks, prepares, and displays the UAC prompt. During this delay, you will see the «Installing Brackets» — «Please wait while Brackets is installed» page of the installer but with 0% progress. The length of this delay may vary, depending on your individual system.

Can’t Launch Brackets

Clear The Cache

If you had previously used Brackets, your cache may have information that is conflicting with the most recent version. Find your cache folder and delete the cache. Warning: this will reset all of your Brackets preferences.

Check the File Permissions

If Brackets won’t launch, check the permissions of the main executable files (e.g. using ls -l). On Mac:

  • bin/mac/Brackets.app should be drwxr-xr-x
  • bin/mac/Brackets.app/Contents/MacOS/Brackets should be -rwxr-xr-x

To fix permissions, use a command like chmod +x bin/mac/Brackets.app/Contents/MacOS/Brackets.

Run Brackets From The Command Line

Next, try running Brackets from the command line. Open up a Terminal (or Command Prompt in Windows), navigate to the executable, and run Brackets. (On Mac, type open bin/mac/Brackets.app.). Did an error appear? If so, file an issue or find us on IRC or the mailing list and we’ll try to figure it out.

Linux: libudev.so.0 Error

This may happen when trying to run 32-bit Brackets on 64-bit Linux. Please verify that you’ve downloaded the correct build.

Linux: GLIBC_2.14 Error

This occurs when trying to run Brackets on Debian 7 (Wheezy). Brackets currently requires Debian 8 (Jessie). (But for some potential workarounds, see issue #4816).

Live Preview Isn’t Working

Live Editing

CSS, HTML, and JavaScript

Currently, Live Development works differently for different types of files:

  • For CSS, all changes are applied in the browser immediately as you type, without reloading the page.
    • CSS preprocessors are not currently supported — they are treated as «other file types» below
  • For HTML, most changes are applied in the browser immediately as you type. Updating pauses when the page is syntactically invalid (e.g. after you type ‘<‘ for a new tag but before you type the closing ‘>’). The line number and Live Preview icon turn red, and the tooltip says «not updating due to syntax error«. Brackets will resume pushing changes to the browser when syntax becomes valid again.
    • HTML live updating is disabled if you’ve specified a custom server URL in Project Settings.
  • For JavaScript and other external file types, when you save your changes, the page is reloaded to reflect your changes. For embedded JS, you will need to reload browser.

See How to Use Brackets for more details.

Files should be in Current Project

You can use File > Open to open any file on your computer, but Brackets’ definition of a project are the files in the folder opened using File > Open Folder.... Some (but not all) Live Development features require a node server, which means being in the current project, so make sure the files that you want to use with Live Development are in the current project.

HTML File should be in Working Set

There is a known issue (which is fixed in release 0.43) that if HTML file is in project tree (i.e. not in Working Set), then element highlighting stops working after switching to a CSS (or other?) file and then back to the HTML file. The workaround is to double-click HTML file so it’s added to the Working Set.

Live CSS is not working

Updating CSS in Live Preview does not seem to work if <link> has type=»text/css», so try removing it.

Known issues:

  • Bug #7935: Live CSS does not update if page contains an iframe (including injected iframes such as ads or social media buttons).

HTML Page is not Updating in Browser as you Type

If you are using your own local server, HTML will not update live (see documentation).

Brackets pauses sending updates to browser when it detects an HTML Syntax Error. In this case, it should color the line number in red (but this can be scrolled out of view) so scroll through entire page to verify that there are no highlighted line numbers.

The Live Preview lightning bolt icon should be also colored red and have a tooltip of «Live Preview (not updating due to syntax error)» in this case, but there’s a known bug being tracked as issue #7126 where this sometimes doesn’t happen. See issue #7126 for an illustrated description including the line number and icon coloring.

Other known issues:

  • Bug #5338: Live Preview can never update if initially launched with syntax error — after fixing a syntax error, try stopping and restarting Live Preview.

Live Preview Page not loading

  • If you specified a «Base URL,» make sure your local server is already running — Brackets will not start it for you.
  • Make sure you are not running firewall, network security, or antivirus software that is blocking the connection (try disabling it temporarily to check)
  • Make sure you haven’t modified your hosts file to remap localhost or 127.0.0.1
  • Try shutting down background apps in Chrome. In Chrome, go to Settings > Advanced Settings and then uncheck the «Continue running background apps when Google Chrome is closed» setting.

Using a Local Server with Live Preview

To use a local server, you need to specify a Base URL in the File > Project Settings... dialog (see How to Use Brackets for details).

If you’re using a local server and are seeing these messages such as «Oops! Google Chrome could not connect to localhost:[port]» (in Chrome) or «Unable to load Live Development page» (in Brackets), verify that your local server has been started.

As noted above, live HTML updating is disabled when using your own custom local server.

Live Preview Chrome Issues

Stable Chrome

Brackets is verified with the current stable Chrome. If chrome is not configured to automatically update to the latest version, then be sure to check for updates. It usually works with current beta, dev, or canary versions of Chrome, but if you are having a problem switch back to stable Chrome before opening an issue.

Install Chrome For Multiple User Accounts

Windows Only

If you get the error An error occurred when launching the browser. (error 2) when doing Live Development, installing Chrome for multiple user accounts may solve the issue.

Check Windows Registry

If Brackets cannot launch the Chrome browser on your Windows system, check the Registry setting here:

  • HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp Pathschrome.exe

This is the file path that Brackets uses to launch Chrome. If this is not correct, then try reinstalling the Chrome browser at this location.

Uninstall/Reinstall Chrome

When uninstalling Google Chrome on Windows, some users have reported problems with Registry settings that are not removed. If uninstalling and reinstalling Chrome still does not fix problem, try deleting Registry settings in the following locations before re-installling:

  • HKEY_CURRENT_USERSOFTWAREGoogleChrome
  • HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome

Warning: Editing the Windows Registry can easily cause problems with your system, so edit it manually at your own risk. Another option is to use a tool such as Revo Uninstaller to uninstall Chrome.

Keep Chrome Open

Try leaving an extra blank tab open in the instance of Chrome that is launched by Live Preview. This prevents Chrome from shutting down and restarting between each file, so Live Preview will launch faster; this may reduce some intermittent errors.

Restart Your Computer

If you keep getting errors when trying to launch Chrome, or if you keep getting prompted to restart Chrome, try rebooting your machine. Rebooting has resolved many odd issues with Live Development.

Re-install Brackets

On Windows, you may run into issues starting Live Preview if you installed Chrome after installing Brackets. In that case, re-installing Brackets should fix the problem.

Issues with multi-browser experimental implementation

This section describes known issues and work-arounds specific to Multi-Browser Live Preview.

Multi-browser Live Preview does not work with Internet Explorer 11

In order to make it work with Internet Explorer 11, disable all the options that IE uses to include sites in the local intranet (unchecked all the items at Internet Options > Security > Local Intranet > Sites). This will allow Live Preview to establish connection to the editor.

Other Live Preview issues

Disable Extensions

Use Debug > Reload Without Extensions to quickly see if the problem is being caused by an extension.

The Theseus[1][2] and CSS Shapes Editor[3] extensions are known to cause problems with Live Preview, and other extensions could potentially interfere also.

Clear Live Preview Profile/Cache

Choose Help > Show Extensions Folder, go up one level to the parent folder, and remove the ‘live-dev-profile’ folder. This will not affect any Brackets settings, but may clear up Live Preview problems.

Brackets is Running Slow

This section discusses some of the features that can affect performance and possible solutions.

Activity Monitor

On Mac OS 10.9 (Mavericks), Activity Monitor will say the Brackets Helper process is «Not Responding» even when it is working normally (bug #5794). You can safely ignore this unless Brackets is actually failing to respond when you click or type text.

Extensions

Most Brackets extensions don’t impact performance, but some may slow down Brackets (for example Show Whitespace can cause slow typing performance). Try Debug > Reload Without Extensions to quickly check if the problem is being caused by an extension.

File Searching

Using «Find in Files» and «JS Code Hinting» can be slow because of the number of files that are searched. You can try installing the experimental Exclude Folders extension to limit the number of folders that are searched.

Highlight Active Line

This feature can negatively impact scrolling performance, so try turning it off with: View > Highlight Active Line

JavaScript Code Hinting

Collecting the information required to build the JS code hint lists can slow down Brackets. Start by reading the Configuration section of the JavaScript Code Hints guide.

You can disable the hints by moving the JavaScriptCodeHints folder out of www/extensions/default (installed version) or src/extensions/default (Git source) folder and into the extensions/disabled folder, and restarting Brackets.

Having trouble installing extensions?

Working behind proxy

If your computer needs to use a proxy to get to the web, you’ll need to configure Brackets to use it. Use Debug > Open Preferences File and then add a "proxy" property to the JSON file. The value should be the URL of your proxy server. Read more about configuring Preferences.

You can also install extensions manually:

  1. Find the extension in the online Extension Registry
  2. Click the name of the extension to download it as a zip file
  3. In Brackets, open Extension Manager
  4. Drag the zip file onto the «Drag .zip here» zone in the lower left of the window

Check localhost IP

Make sure your localhost address resolves correctly, normally it should resolve to 127.0.0.1. You can do it by executing ping localhost from the command line. If it fails, add the following entry to your hosts file:

hosts file is /etc/hosts on Mac and Linux. On Windows it’s located in %windir%system32driversetchosts

Other: Brackets Is Acting Weird

Preferences are Not Saved

Your preferences may have become corrupt. Follow these instructions to delete your preferences and cache folder: https://github.com/adobe/brackets/wiki/Cache-Folder#resetting-cache—preferences.

Disable All Extensions

Use Debug > Reload Without Extensions to quickly check whether the problem is being caused by an extension. To re-enable your extensions, just quit and relaunch Brackets, or choose Debug > Reload With Extensions.

If this fixes the problem, you can identify the problematic extension by re-enabling extensions one-by-one:

Disabling extensions individually

  1. Start with all extensions disabled: Choose Help > Show Extensions Folder and move all extensions from the «user» folder into the «disabled» folder (this is similar to what Debug > Reload Without Extensions does).
  2. Move one extension back into the «user» folder, then quit and re-launch Brackets.
  3. Check if the problem has come back. If not, repeat step 2.

Binary Reduction: The previous method tests one extension at a time. This works for a small number of extensions but is slow if you have a lot of extensions. Instead, you can test half of your remaining extensions at a time. You’re done when you only have 1 extension being tested. As above, you have to quit and re-launch Brackets between each test.

Note: to make it easier to manage which extensions you have tested, create a third folder named «disabled-verified» for extensions which have been verified to not cause the problem.

  1. (same as above)
  2. Move half (doesn’t need to be exact) of your extensions from the «disabled» folder to the «user» folder.
  3. If you do not see the problem, move all of the extensions in the «user» folder to the «disabled-verified» folder. Repeat step 2.
  4. Otherwise you do see problem, so move all extensions from «disabled» folder to «disabled-verified» folder. Then move half of your extensions from «user» folder back to «disabled» folder. Repeat step 3.

Once you have identified the problematic extension, move all extensions from «disabled-verified» folder back to «user» folder.

Alternative: Select Debug > Show Developer Tools and look at the console. If an error message is present, it may have a link to the code that is failing, which in turn may point out a specific extension.

Debug with Developer Tools

Choose Debug > Show Developer Tools to open an instance of the Developer Tools for Brackets. If you’ve used the Developer Tools in Chrome this will look familiar. Check the Console tab for errors.

Can’t Paste Text Into Brackets

There’s a known issue with the Webroot Identity Shield software blocking Paste in Brackets. If you’re running Webroot, try the workarounds on their support page. (Fully up-to-date Webroot should no longer treat Brackets as «unknown»; try reinstalling to update your copy).

How do I associate an extension with a type of file?

Let’s say you want «.inc» files to be treated like «.php» files. To do this, open an «.inc» file and click the dropdown in the lower-right (for unrecognized files it will say «Text»). Choose the desired file type (e.g. «PHP»), then open the dropdown again and choose «Set as Default for .inc Files.»

You can also edit the language.fileExtensions preference directly.

Error reading preferences file (release 37)

In Brackets release 37, there’s a known issue in which an empty preferences file could cause Brackets to display an error message on startup. If you see this error, Brackets will still start and will open the (empty) preferences file into the editor. Follow these steps, and you’ll be all set:

  1. Type this into the editor:
    {}
  2. Save
  3. Quit and restart Brackets

Starting with Brackets 36, we’ve added a bunch of preferences that let you tailor how Brackets works for you. Read more on the How To Use Brackets page.

The bug described here is fixed in Brackets 38.

Still Having a Problem?

  • File an issue — be sure to include as many details as possible (see link for specific guidelines)
  • Contact us on Slack (request an invite first) or via one of the other channels mentioned in the README

Brackets not working for you? Maybe the following will help:

  • Having trouble installing Brackets?
  • Brackets not launching?
  • Having trouble with Live Preview?
    • Live Editing
    • Page Not Loading
    • Using a Local Server
    • Chrome Issues
    • Experimental MultiBrowser implementation
    • Other Live Preview Issues
  • Is Brackets running slowly?
  • Having trouble installing extensions?
  • Other: Brackets Is Acting Weird

Other information that may help you:

  • What are Brackets’ system requirements?
  • How do I associate an extension with a type of file?

Question not yet answered?

System Requirements

  • Mac OSX 10.6.8 or newer
  • Windows Vista, 7, or 8/8.1 (x32 and x64) (installer requires administrator access)
  • Linux Ubuntu 12.04 or newer (x32 and x64)
  • Debian Linux 8 or newer (for Debian 7 compatibility see issue #4816)
  • At least 2 GB of RAM for Live Development

Can’t Install Brackets

Windows Vista: Nothing happens when launching installer

Some Windows Vista computers will block installers downloaded from the Internet, so nothing at all happens when you try to run the installer. To work around this: right-click the installer file, choose Properties, and click the Unblock button.

Windows error: «Installation directory must be on a local drive»

This can happen on some Windows machines. To work around this, try executing the installer from an elevated command prompt:

  1. Open an elevated command prompt using one of the techniques on this page: http://www.sevenforums.com/tutorials/783-elevated-command-prompt.html
  2. cd to the folder containing the installer.
  3. Run the installer using msiexec, e.g.: msiexec /i "brackets-sprint-xx-WIN.msi" (where «xx» is the sprint number)

Windows: Installer stuck on 0% progress

There may be a long delay at the start of the installation process as Windows checks, prepares, and displays the UAC prompt. During this delay, you will see the «Installing Brackets» — «Please wait while Brackets is installed» page of the installer but with 0% progress. The length of this delay may vary, depending on your individual system.

Can’t Launch Brackets

Clear The Cache

If you had previously used Brackets, your cache may have information that is conflicting with the most recent version. Find your cache folder and delete the cache. Warning: this will reset all of your Brackets preferences.

Check the File Permissions

If Brackets won’t launch, check the permissions of the main executable files (e.g. using ls -l). On Mac:

  • bin/mac/Brackets.app should be drwxr-xr-x
  • bin/mac/Brackets.app/Contents/MacOS/Brackets should be -rwxr-xr-x

To fix permissions, use a command like chmod +x bin/mac/Brackets.app/Contents/MacOS/Brackets.

Run Brackets From The Command Line

Next, try running Brackets from the command line. Open up a Terminal (or Command Prompt in Windows), navigate to the executable, and run Brackets. (On Mac, type open bin/mac/Brackets.app.). Did an error appear? If so, file an issue or find us on IRC or the mailing list and we’ll try to figure it out.

Linux: libudev.so.0 Error

This may happen when trying to run 32-bit Brackets on 64-bit Linux. Please verify that you’ve downloaded the correct build.

Linux: GLIBC_2.14 Error

This occurs when trying to run Brackets on Debian 7 (Wheezy). Brackets currently requires Debian 8 (Jessie). (But for some potential workarounds, see issue #4816).

Live Preview Isn’t Working

Live Editing

CSS, HTML, and JavaScript

Currently, Live Development works differently for different types of files:

  • For CSS, all changes are applied in the browser immediately as you type, without reloading the page.
    • CSS preprocessors are not currently supported — they are treated as «other file types» below
  • For HTML, most changes are applied in the browser immediately as you type. Updating pauses when the page is syntactically invalid (e.g. after you type ‘<‘ for a new tag but before you type the closing ‘>’). The line number and Live Preview icon turn red, and the tooltip says «not updating due to syntax error«. Brackets will resume pushing changes to the browser when syntax becomes valid again.
    • HTML live updating is disabled if you’ve specified a custom server URL in Project Settings.
  • For JavaScript and other external file types, when you save your changes, the page is reloaded to reflect your changes. For embedded JS, you will need to reload browser.

See How to Use Brackets for more details.

Files should be in Current Project

You can use File > Open to open any file on your computer, but Brackets’ definition of a project are the files in the folder opened using File > Open Folder.... Some (but not all) Live Development features require a node server, which means being in the current project, so make sure the files that you want to use with Live Development are in the current project.

HTML File should be in Working Set

There is a known issue (which is fixed in release 0.43) that if HTML file is in project tree (i.e. not in Working Set), then element highlighting stops working after switching to a CSS (or other?) file and then back to the HTML file. The workaround is to double-click HTML file so it’s added to the Working Set.

Live CSS is not working

Updating CSS in Live Preview does not seem to work if <link> has type=»text/css», so try removing it.

Known issues:

  • Bug #7935: Live CSS does not update if page contains an iframe (including injected iframes such as ads or social media buttons).

HTML Page is not Updating in Browser as you Type

If you are using your own local server, HTML will not update live (see documentation).

Brackets pauses sending updates to browser when it detects an HTML Syntax Error. In this case, it should color the line number in red (but this can be scrolled out of view) so scroll through entire page to verify that there are no highlighted line numbers.

The Live Preview lightning bolt icon should be also colored red and have a tooltip of «Live Preview (not updating due to syntax error)» in this case, but there’s a known bug being tracked as issue #7126 where this sometimes doesn’t happen. See issue #7126 for an illustrated description including the line number and icon coloring.

Other known issues:

  • Bug #5338: Live Preview can never update if initially launched with syntax error — after fixing a syntax error, try stopping and restarting Live Preview.

Live Preview Page not loading

  • If you specified a «Base URL,» make sure your local server is already running — Brackets will not start it for you.
  • Make sure you are not running firewall, network security, or antivirus software that is blocking the connection (try disabling it temporarily to check)
  • Make sure you haven’t modified your hosts file to remap localhost or 127.0.0.1
  • Try shutting down background apps in Chrome. In Chrome, go to Settings > Advanced Settings and then uncheck the «Continue running background apps when Google Chrome is closed» setting.

Using a Local Server with Live Preview

To use a local server, you need to specify a Base URL in the File > Project Settings... dialog (see How to Use Brackets for details).

If you’re using a local server and are seeing these messages such as «Oops! Google Chrome could not connect to localhost:[port]» (in Chrome) or «Unable to load Live Development page» (in Brackets), verify that your local server has been started.

As noted above, live HTML updating is disabled when using your own custom local server.

Live Preview Chrome Issues

Stable Chrome

Brackets is verified with the current stable Chrome. If chrome is not configured to automatically update to the latest version, then be sure to check for updates. It usually works with current beta, dev, or canary versions of Chrome, but if you are having a problem switch back to stable Chrome before opening an issue.

Install Chrome For Multiple User Accounts

Windows Only

If you get the error An error occurred when launching the browser. (error 2) when doing Live Development, installing Chrome for multiple user accounts may solve the issue.

Check Windows Registry

If Brackets cannot launch the Chrome browser on your Windows system, check the Registry setting here:

  • HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp Pathschrome.exe

This is the file path that Brackets uses to launch Chrome. If this is not correct, then try reinstalling the Chrome browser at this location.

Uninstall/Reinstall Chrome

When uninstalling Google Chrome on Windows, some users have reported problems with Registry settings that are not removed. If uninstalling and reinstalling Chrome still does not fix problem, try deleting Registry settings in the following locations before re-installling:

  • HKEY_CURRENT_USERSOFTWAREGoogleChrome
  • HKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome

Warning: Editing the Windows Registry can easily cause problems with your system, so edit it manually at your own risk. Another option is to use a tool such as Revo Uninstaller to uninstall Chrome.

Keep Chrome Open

Try leaving an extra blank tab open in the instance of Chrome that is launched by Live Preview. This prevents Chrome from shutting down and restarting between each file, so Live Preview will launch faster; this may reduce some intermittent errors.

Restart Your Computer

If you keep getting errors when trying to launch Chrome, or if you keep getting prompted to restart Chrome, try rebooting your machine. Rebooting has resolved many odd issues with Live Development.

Re-install Brackets

On Windows, you may run into issues starting Live Preview if you installed Chrome after installing Brackets. In that case, re-installing Brackets should fix the problem.

Issues with multi-browser experimental implementation

This section describes known issues and work-arounds specific to Multi-Browser Live Preview.

Multi-browser Live Preview does not work with Internet Explorer 11

In order to make it work with Internet Explorer 11, disable all the options that IE uses to include sites in the local intranet (unchecked all the items at Internet Options > Security > Local Intranet > Sites). This will allow Live Preview to establish connection to the editor.

Other Live Preview issues

Disable Extensions

Use Debug > Reload Without Extensions to quickly see if the problem is being caused by an extension.

The Theseus[1][2] and CSS Shapes Editor[3] extensions are known to cause problems with Live Preview, and other extensions could potentially interfere also.

Clear Live Preview Profile/Cache

Choose Help > Show Extensions Folder, go up one level to the parent folder, and remove the ‘live-dev-profile’ folder. This will not affect any Brackets settings, but may clear up Live Preview problems.

Brackets is Running Slow

This section discusses some of the features that can affect performance and possible solutions.

Activity Monitor

On Mac OS 10.9 (Mavericks), Activity Monitor will say the Brackets Helper process is «Not Responding» even when it is working normally (bug #5794). You can safely ignore this unless Brackets is actually failing to respond when you click or type text.

Extensions

Most Brackets extensions don’t impact performance, but some may slow down Brackets (for example Show Whitespace can cause slow typing performance). Try Debug > Reload Without Extensions to quickly check if the problem is being caused by an extension.

File Searching

Using «Find in Files» and «JS Code Hinting» can be slow because of the number of files that are searched. You can try installing the experimental Exclude Folders extension to limit the number of folders that are searched.

Highlight Active Line

This feature can negatively impact scrolling performance, so try turning it off with: View > Highlight Active Line

JavaScript Code Hinting

Collecting the information required to build the JS code hint lists can slow down Brackets. Start by reading the Configuration section of the JavaScript Code Hints guide.

You can disable the hints by moving the JavaScriptCodeHints folder out of www/extensions/default (installed version) or src/extensions/default (Git source) folder and into the extensions/disabled folder, and restarting Brackets.

Having trouble installing extensions?

Working behind proxy

If your computer needs to use a proxy to get to the web, you’ll need to configure Brackets to use it. Use Debug > Open Preferences File and then add a "proxy" property to the JSON file. The value should be the URL of your proxy server. Read more about configuring Preferences.

You can also install extensions manually:

  1. Find the extension in the online Extension Registry
  2. Click the name of the extension to download it as a zip file
  3. In Brackets, open Extension Manager
  4. Drag the zip file onto the «Drag .zip here» zone in the lower left of the window

Check localhost IP

Make sure your localhost address resolves correctly, normally it should resolve to 127.0.0.1. You can do it by executing ping localhost from the command line. If it fails, add the following entry to your hosts file:

hosts file is /etc/hosts on Mac and Linux. On Windows it’s located in %windir%system32driversetchosts

Other: Brackets Is Acting Weird

Preferences are Not Saved

Your preferences may have become corrupt. Follow these instructions to delete your preferences and cache folder: https://github.com/adobe/brackets/wiki/Cache-Folder#resetting-cache—preferences.

Disable All Extensions

Use Debug > Reload Without Extensions to quickly check whether the problem is being caused by an extension. To re-enable your extensions, just quit and relaunch Brackets, or choose Debug > Reload With Extensions.

If this fixes the problem, you can identify the problematic extension by re-enabling extensions one-by-one:

Disabling extensions individually

  1. Start with all extensions disabled: Choose Help > Show Extensions Folder and move all extensions from the «user» folder into the «disabled» folder (this is similar to what Debug > Reload Without Extensions does).
  2. Move one extension back into the «user» folder, then quit and re-launch Brackets.
  3. Check if the problem has come back. If not, repeat step 2.

Binary Reduction: The previous method tests one extension at a time. This works for a small number of extensions but is slow if you have a lot of extensions. Instead, you can test half of your remaining extensions at a time. You’re done when you only have 1 extension being tested. As above, you have to quit and re-launch Brackets between each test.

Note: to make it easier to manage which extensions you have tested, create a third folder named «disabled-verified» for extensions which have been verified to not cause the problem.

  1. (same as above)
  2. Move half (doesn’t need to be exact) of your extensions from the «disabled» folder to the «user» folder.
  3. If you do not see the problem, move all of the extensions in the «user» folder to the «disabled-verified» folder. Repeat step 2.
  4. Otherwise you do see problem, so move all extensions from «disabled» folder to «disabled-verified» folder. Then move half of your extensions from «user» folder back to «disabled» folder. Repeat step 3.

Once you have identified the problematic extension, move all extensions from «disabled-verified» folder back to «user» folder.

Alternative: Select Debug > Show Developer Tools and look at the console. If an error message is present, it may have a link to the code that is failing, which in turn may point out a specific extension.

Debug with Developer Tools

Choose Debug > Show Developer Tools to open an instance of the Developer Tools for Brackets. If you’ve used the Developer Tools in Chrome this will look familiar. Check the Console tab for errors.

Can’t Paste Text Into Brackets

There’s a known issue with the Webroot Identity Shield software blocking Paste in Brackets. If you’re running Webroot, try the workarounds on their support page. (Fully up-to-date Webroot should no longer treat Brackets as «unknown»; try reinstalling to update your copy).

How do I associate an extension with a type of file?

Let’s say you want «.inc» files to be treated like «.php» files. To do this, open an «.inc» file and click the dropdown in the lower-right (for unrecognized files it will say «Text»). Choose the desired file type (e.g. «PHP»), then open the dropdown again and choose «Set as Default for .inc Files.»

You can also edit the language.fileExtensions preference directly.

Error reading preferences file (release 37)

In Brackets release 37, there’s a known issue in which an empty preferences file could cause Brackets to display an error message on startup. If you see this error, Brackets will still start and will open the (empty) preferences file into the editor. Follow these steps, and you’ll be all set:

  1. Type this into the editor:
    {}
  2. Save
  3. Quit and restart Brackets

Starting with Brackets 36, we’ve added a bunch of preferences that let you tailor how Brackets works for you. Read more on the How To Use Brackets page.

The bug described here is fixed in Brackets 38.

Still Having a Problem?

  • File an issue — be sure to include as many details as possible (see link for specific guidelines)
  • Contact us on Slack (request an invite first) or via one of the other channels mentioned in the README

#
6 лет, 2 месяца назад

(отредактировано

6 лет, 2 месяца назад)

DetyaJa avatar

Темы:

17

Сообщения:

60

Участник с: 27 июля 2016

Всем привет.
Поставил Brackets и гугл хром. Все с аура.
В первом есть ф-я Live Preview.
Она работает только с гугл хром.
При попытке открыть выбывает ошибку Unknown
В терминале пишет

** Message: USERDATADIR= /home/skiptyler/.config/Brackets/live-dev-profile
[1108/054656:ERROR:browser_main_loop.cc(212)] GLib: g_error_free: assertion 'error != NULL' failed

Помогите решить проблему.

— Linux — кривой до невозможности, так что ставить его не охота =
— Он просто повторяет изгибы рук владельца =)

DetyaJa

#
6 лет, 2 месяца назад

DetyaJa avatar

Темы:

17

Сообщения:

60

Участник с: 27 июля 2016

Проблему решил.
Переименовал файл /usr/bin/google-chrome-stable в /usr/bin/google-chrome.

— Linux — кривой до невозможности, так что ставить его не охота =
— Он просто повторяет изгибы рук владельца =)

vs220

#
6 лет, 2 месяца назад

Темы:

22

Сообщения:

8090

Участник с: 16 августа 2009

DetyaJa
Переименовал файл

Для этого существуют ссылки, иначе получите проблемы при обновлении.

sudo ln -s /usr/bin/google-chrome-stable /usr/bin/google-chrome

DetyaJa

#
6 лет, 2 месяца назад

(отредактировано

6 лет, 2 месяца назад)

DetyaJa avatar

Темы:

17

Сообщения:

60

Участник с: 27 июля 2016

vs220
Для этого существуют ссылки, иначе получите проблемы при обновлении.

sudo ln -s /usr/bin/google-chrome-stable /usr/bin/google-chrome

Ого, не знал.
Переименовал обратно и выполнил вышеуказанную команду.
Работает.
Спасибо!

— Linux — кривой до невозможности, так что ставить его не охота =
— Он просто повторяет изгибы рук владельца =)

В Brackets не работает Live Preview, кто то сталкивался с этим? как это решить? вношу изменения в коде, а они не отображаются автоматически. Только если обновить страницу браузера.

5 ответов 5

если я правильно понял, Live Preview в Brackets работает только если HTML файл был создан в редакторе.

Для того чтобы всё работало, в боковой панели нужно открыть директорию с сайтом/проектом.

В моём случае, проблема решилась временным назначением браузера Chrome по-умолчанию. После вернул Opera обратно. Дальше редактор уже находил браузер Chrome нормально.
До этого, редактор Brackets, так и ругался, что не мог найти Chrome в системе Windows.

PS: Вопрос хоть и старый, но находится в топе Google, по-этому написал здесь

Live Preview работает только с Google Chrome. Перестает работать если в браузере вызваны инструменты разработчика по Ctrl-Shift-I или F12 . Чтобы Live Preview снова заработал нужно просто опять в Brackets при выбранном HTML файле нажать Ctrl-Alt-P либо же кликнуть мышкой по значку молнии на боковой панели в правом верхнем углу редактора.

Надо в меню Brackets Отладка вызвать Перезагрузить с расширениями F5

Привет читатель. Продолжаем изучать редактор Brackets. И сегодня я расскажу о такой обалденно-удобной функции как live preview. У многих сразу мелькнула ассоциация с трансляциями в инстаграме, но на самом деле лайв превью переводится как интерактивный просмотр.

Что такое live preview?

Интерактивный просмотр. Ну а если по человечески, то просмотр изменений на сайте в реальном времени.
Это почти как раньше (что то поменял, сохранил, обновил страницу), но намного проще — что-то добвил/удалил/изменил и сразу увидел все изменения без сохранений там всяких, обновлений…в общем очень удобная вещь, как для профи, так и для новичков и чайников.

Как включить итнреактивный просотр?

В прошлых уроках мы уже мельком затрагивали live preview. Находится он в правом верхнем сайдбаре (первый значек), на молнию еще похоже.

Для запуска достаточно просто кликнуть по значку. Во время первого запуска откроется окно с предупреждением что интерактивный просмотр находится на стадии тестирования, а это значит что — айм сорри если вдруг что-то не работает мы предупреждали..
Еще там будет сказано что работает функция на данный момент только с html, css и частично javascript файлами. Для верстки этого будет вполне достаточно а вот допиливать и натягивать на движок придется уже по старинке. Ах, да не забудьте скачать google chrome. Другие браузеры не поддерживаются.

Для демонстрации я скачал первый попавшийся более-менее чистый шаблон (html5up dimension) и запустил live находясь в файле index.html (это важно, ведь какой может быть лайв из css файла??).

Для удобства я разелил экран пополам (обычно просто использую второй монитор).
Итак, перед нами открылась страница и ничего особенного на ней нету (точно такая же как и при обычном открытии из проводника), разве что адрес указан не относительный.


Возвращаемся к коду и начнем менять заголовок h1. Заметили как после клика на заголовок на странице он выделился цветом а потом осталась только обводка? При замене слова все изменения будут видны в минимальной задержкой сразу в браузере. Работать можно не только из редактора т.е. можно кликнуть в нужном месте страницы и автоматически выделится кусок нужного кода в редакторе.

Настройка live preview

Настроек редактор имеет мало, вернее одна. Убирать подсветку при клике по элементу как в коде так на странице. Отключается и включается она комбинацией клавиш ctrl+shift+c или «Вид» — «Подсвечивать в Live Preview«.

Почему не работает live preview?

Причин на самом деле не так уж и много, и разберем мы их от начала до конца.

Итак, первая причина не запуска интерактивного просмотра это не нажатая клавиша молнии о которой мы говорили выше в этой статье.
Вторая причина может крыться в отсутствии браузера хром о котором мы так же сегодня упоминали.
Если проблема не решена то смотрим что бы браузер хром был установлен браузером по умолчанию.
Четвертая причина, вы просто открыли файл html файл в редакторе и меняете css. Так тоже не пойдет. Открываем всё дерево проекта.
Пятая причина — интерактивный просмотр не работает с php файлами, или каими либо другими кроме html, css и частично js.
Всё равно не работает? Шестым пунктом проверьте не включено ли ничего лишнего наподобие «инструментов разработчика» в браузере (ctrl+shift+i или f12)
Никак? В редакторе жмем F5 — перезагрузить с расширениями и пробуем заново.

Это все известные мне причины неработающего live preview. Как правило обычно проблема кроется в первых трех пунктах.

Занимаюсь версткой сайтов, и уже почти пол года как я открыл для себя текстовый редактор Breckets.

Это молодой бесплатный редактор от adobe с открытым кодом для веб-разработчиков. он ориентирован на работу с HTML, CSS и JavaScript. Привлек он меня тем что в нем есть встроенный плагин Live preview

Благодаря него вы можете наблюдать за изменениями сайта без перезагрузки страницы, прямо во время верстки. Но в ней есть одна особенность, она работает только с Google Chrome.

Поскольку я предпочитаю работать с браузером Mozilla, для меня это был большой минус. Ну не давно случайно наткнулся на иностранном форуме решение данной проблемы.

Чтобы Live preview работало в mozilla нужно :

В редакторе открыть : Debug/Open Preference File

Для тех у кого на русском : Отладка/Открыть файл настроек

Откроется 2 файла defaultPreferences.json и brackets.json

defaultPreferences.json можно сразу закрыть а в brackets.json добавить строчку

Желательно добавить ее в самый верх документа. Должно получится примерно так

«fonts.fontFamily»: «’SourceCodePro-Medium’, MS ゴシック, ‘MS Gothic’, monospace»,

После этого при запуски плагина Live preview страница будет отображаться в Мазиле

Прежде решение я не находил, поэтому решил поделится им на нескольких русскоязычных ресурсах, одним из них стал Pickabu. Может кому то пригодится

Description:
On Win 8.1, when I try to run Live Preview before I’ve installed Chrome, I get Error Launching Browser (error 1). I would expect the error message to say Chrome is not installed. There is a link to «Troubleshooting Live Development connection errors»: https://github.com/adobe/brackets/wiki/Troubleshooting#wiki-livedev, but that page doesn’t mention anything about «error 1». That page also doesn’t clearly say that you need Chrome for Live Preview to work. The one-time Live Preview dialog does say you need Chrome, but that’s only a one-time dialog and maybe some users need to see this again in the troubleshooting page.

Related to #5047

Repro using Brackets Sprint 33 10187 on Win 8.1.

Repro steps:

  1. I was testing on Win 8.1 (not sure if it repros on other OS’s).
  2. Chrome was not installed yet.
  3. Open index.html from Getting Started and run Live Preview.

Actual results:
Error message appears: Error Launching Browser. «An error occurred when launching the browser. (error 1) For more information, see «Troubleshooting Live Development connection errors»: https://github.com/adobe/brackets/wiki/Troubleshooting#wiki-livedev, but that page doesn’t mention anything about «error 1».

error1

Expected results:
Error message says Chrome is not installed.
If that’s not possible, then https://github.com/adobe/brackets/wiki/Troubleshooting#wiki-livedev should mention «error 1» and say you need Chrome.
Also, the punctuation of the error message seems strange. I think it should be something like this:
«An error occurred when launching the browser (error 1). For more information…»

Workaround:
Figure out on your own that you need Chrome installed.

В Brackets не работает Live Preview, кто то сталкивался с этим? как это решить?
вношу изменения в коде, а они не отображаются автоматически. Только если обновить страницу браузера.

Kromster's user avatar

Kromster

13.6k12 золотых знаков43 серебряных знака72 бронзовых знака

задан 9 сен 2015 в 9:06

Denis Korytkin's user avatar

Denis KorytkinDenis Korytkin

571 золотой знак1 серебряный знак9 бронзовых знаков

1

если я правильно понял, Live Preview в Brackets работает только если HTML файл был создан в редакторе.

ответ дан 22 сен 2015 в 17:04

Denis Korytkin's user avatar

Denis KorytkinDenis Korytkin

571 золотой знак1 серебряный знак9 бронзовых знаков

1

Для того чтобы всё работало, в боковой панели нужно открыть директорию с сайтом/проектом.

ответ дан 14 апр 2016 в 7:07

Denis's user avatar

В моём случае, проблема решилась временным назначением браузера Chrome по-умолчанию. После вернул Opera обратно. Дальше редактор уже находил браузер Chrome нормально.
До этого, редактор Brackets, так и ругался, что не мог найти Chrome в системе Windows.

PS: Вопрос хоть и старый, но находится в топе Google, по-этому написал здесь

ответ дан 26 ноя 2016 в 21:47

AlexBrtn's user avatar

Live Preview работает только с Google Chrome. Перестает работать если в браузере вызваны инструменты разработчика по Ctrl-Shift-I или F12. Чтобы Live Preview снова заработал нужно просто опять в Brackets при выбранном HTML файле нажать Ctrl-Alt-P либо же кликнуть мышкой по значку молнии на боковой панели в правом верхнем углу редактора.

ответ дан 1 ноя 2016 в 22:26

Yurii Holskyi's user avatar

Yurii HolskyiYurii Holskyi

7421 золотой знак9 серебряных знаков21 бронзовый знак

Надо в меню Brackets Отладка вызвать Перезагрузить с расширениями F5

ответ дан 23 апр 2017 в 21:12

Данила Коловрат's user avatar

1

Просто запусти хром в соседнем с редактором окне, а встроенное окно просмотра в самом редакторе закрой. И будет тебе счастье…

ответ дан 2 сен 2022 в 8:09

Михаил Маторин's user avatar

Сломался у меня как-то Sublime Text 3 и решил попробовать я чего-нибудь новенького , скачал Brackets , все его функции мне очень понравились , но когда я решил доверстать свой предыдущий проект у меня появились проблемы . Дело в том , что live prewiew буквально не реагировал ни на какие мои изменения в коде , не выделял блоки ,в общем ничего , изменения появлялись лишь после того как я сохранял файл. С CSS’ом же все в порядке , работает как надо.
Пробовал создавать index.html в самом редакторе , все отлично работало , но как только я сохраняю его куда-нибудь , в папку с проектом например live prewiew перестает работать. Подскажите как побороть этот баг?
ОПЕРАЦИОНКА- Winows 7 64x
Версия редактора- 1.3


  • Вопрос задан

    более трёх лет назад

  • 22033 просмотра

Hello @JungGaBin, thanks for the reply.

I have not looked at the Brackets source code with caution. I’m still new to Snap packages.

For the little that I know, I believe it may be the lack of connection to the environment, just like the application Gradio does. In this way, Brackets would find the Google Chrome browser installed on the system (Live Preview option) or the browser used by the system (experimental Live Preview option) and would enable this functionality.

I recommend that you contact Häcker Felix to resolve this issue. Meanwhile, I follow the development of this solution and add some observation if I get some success in developing the fix.

  • Ошибка запуска бордерлендс 2
  • Ошибка запуска двигателя автолис
  • Ошибка запуска калибр createfile failed with 32
  • Ошибка запуска безопасные платежи
  • Ошибка запуска двигателя starline через приложение