Brackets как изменить шрифт

I want to change the font size for editing in brackets from the default size to 16pt. I go to view--> theme--> edit font size to 16pt or another size, but it doesn't change.

Like previously mentioned, you can achieve this with the ui-too-small plugin.

Personally I don’t like the default settings of this plugin either but you can change the setting by editing the main.js file which you can find by navigating to:

Help > Show Extensions Folder > Navigate to user > Navigate to ui too small > open main.js

I personally like the following settings (Material Design):

    define(function (require, exports, module) {
        "use strict";

        var ExtensionUtils = brackets.getModule("utils/ExtensionUtils");

    ExtensionUtils.addEmbeddedStyleSheet("#sidebar *, #main-toolbar *, #titlebar *, #problems-panel *,"+
    "#find-in-files-results *, #e4b-main-panel *, #status-bar *,"+
    "#main-toolbar *, #context-menu-bar *, #codehint-menu-bar *,"+
    "#quick-view-container *, #function-hint-container *  { font-size: 16px !important;"+
    " line-height: 30px !important; }"+
    ".sidebar li { min-height: 30px !important;}"+
    ".sidebar-selection, .filetree-selection { min-height: 30px !important; margin-top: 5px;}"+
    ""+".jstree-icon{margin-top:10px !important} .filetree-selection-extension{margin-top: 5px; height: 30px !important;} .jstree-rename-input{ margin-top: 2px !important; height: 30px !important;   padding-bottom: 0px !important;} "
    );
    });

Возникла проблема с русскими шрифтами в brackets. Они выглядят отвратительно, при этом на моем рабочем компьютере(с XP) все отображается корректно, а на 8ке отвратительно. Версия Брекетов одинаковая, как исправить?


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

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

  • 10509 просмотров

Для изменения шрифта в редакторе есть другой способ: в www/styles/brackets_theme_default.less меняем правило .code-font на любимый шрифт и перезапускаем Brackets.
Можно юзать например Consolas, Courier New

Пригласить эксперта

View->Themes

Windows:
Font-family
Consolas, ‘MS Gothic’, monospace

Linux:
Font-family
Droid Sans Mono, ‘MS Gothic’, monospace

Заходишь в меню View>Themes>Font Family и пишешь шрифт.

Можно еще поставить плагин Font и получить нормальные шрифты.


  • Показать ещё
    Загружается…

09 февр. 2023, в 10:11

1500 руб./в час

09 февр. 2023, в 09:28

5000 руб./за проект

09 февр. 2023, в 07:58

3500 руб./за проект

Минуточку внимания

Brackets 0.42 and newer

To change the code editor font, choose View > Themes…, then change the «Font Family» setting.

  • Use the same syntax as you would font-family in CSS
  • The font must be installed on your OS (there’s no way to load a web font)
  • One exception: 'SourceCodePro-Medium', the default code editor font, is a web font that’s loaded automatically by Brackets (installing Brackets doesn’t install any fonts globally on your system)

Changing your font can be useful as a workaround for certain international text-display issues, such as lack of Russian/Cyrillic support.

Older Brackets & Adobe Edge Code

Here’s a quick hack you can use to change your font in earlier releases:

Approach A: Write an extension

Write a Brackets extension using this code as the basis for your main.js:

define(function (require, exports, module) {
    "use strict";

    var ExtensionUtils = brackets.getModule("utils/ExtensionUtils");

    ExtensionUtils.addEmbeddedStyleSheet(".CodeMirror { font-family: 'Comic Sans MS'; }");
});

…except pick a less horrible font! :-)

Note: There’s no need to write a package.json file since this extension is just for yourself; package.json is only needed if you want to publish the extension for others to use.

If you store this extension in the location given by Help > Show Extensions Folder, then you can freely upgrade to newer Brackets versions and your extension will remain in place.

Caveat: This approach only works for fonts installed on your OS. If you want to use a web font (loaded via @font-face), you need to edit the Brackets core source code.

Approach B: Edit Brackets source

  1. Set up a Brackets dev environment (you can omit the fork step and clone the official repo directly, however)
  2. In the cloned source, edit the file src/styles/brackets_theme_default.less
  3. Add your @font-face import directive if needed
  4. Find the .code-font() rule and change the font-family as desired
  5. Restart Brackets

Caveats: In order to keep up to date with Brackets updates, you’ll need to to manually pull down source code updates (this can be tricky if you’re not familiar with Git). Brackets loads slightly slower in a dev environment because the source isn’t minified.

Нужна регистрация для бесплатного обучения


15.03.2017
И
Комментариев нет
242

uWebDesign Обзор #14 — вышел новый релиз редактора кода Brackets за версией 0.42. На этот раз добавлена возможность менять цветовые схемы прямо в ядре редактора, а также наконец-то появилась возможно сменить шрифт на любой из установленных в системе.

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

Brackets вконтакте: http://vk.com/bracketsio

Александр Гончаров на твиттере: http://twitter.com/websanya

uWebDesign это:
• Сайт: http://uwebdesign.ru (Подписывайтесь!)
• Паблик на ВК: http://vk.com/uwebdesign
• Лента в Twitter: http://twitter.com/uwebdesgn
• Канал на YouTube: https://youtube.com/user/uwebdesign

uWebDesign

Вы находитесь на невероятном канале uWebDesign, Вашем путеводителе в мире web разработки! Здесь вы найдете лучшие обзорные ролики и подкасты про web технологии на русском языке: web и ux дизайн, инструменты для разработки, языки программирования и многое другое. Больше всего мы концентрируемся на различных CSS модулях, работе с SVG, разработке WordPress сайтов и языке программирования PHP. Приятного просмотра!

Расписание роликов:
• По вторникам выходит подкаст «Суровый веб».
• По пятницам на нашем втором канале выходят игровые стримы: https://youtube.com/uwdgames
• От случая к случаю на канале выходят обзорные ролики про Web технологии, а также уроки про Adobe Illustrator.

Последние сообщения

How to change the application font size in brackets?

I want to change the font size of the side menu, menu bar, bottom bar and title bars of the editor which is very small. [ctrl] + [+] will only change the editor font size.

4castle's user avatar

4castle

31.9k11 gold badges70 silver badges104 bronze badges

asked Sep 3, 2016 at 18:13

Shanika Ediriweera's user avatar

As Shanika suggested, «UI too small» allows you to control the size of the side/Menu fontSize, but it doesn’t answer to Ctr + or -.

Nevertheless, you can still do it manually by changing directly the main.js under Brackets->extensions->user->ui-too-small->main.js Or by clicking on the menu Help then Show Extensions Folder, and click on main.js under user/ui-too-small.

Open main.js and change the fontSize you want in font-size: 22px

answered Sep 10, 2018 at 10:32

mustapha mekhatria's user avatar

0

It’s 5/2019 and still this is a problem.

Issue was opened at 2014.

Think about, there is kind a populer code editor and even if you want to increase font size of file tree which is really small, you can’t without an extension (UI too small).
Weird.

answered May 17, 2019 at 11:02

berkan's user avatar

You can change the setting for the ui-too-small plugin For windows trough:
Help > Show Extensions Folder > Navigate to user > Navigate to ui too small > open main.js

I personally like the following settings (Material design):

    define(function (require, exports, module) {
        "use strict";

    ExtensionUtils.addEmbeddedStyleSheet("#sidebar *, #main-toolbar *, #titlebar *, #problems-panel *,"+
    "#find-in-files-results *, #e4b-main-panel *, #status-bar *,"+
    "#main-toolbar *, #context-menu-bar *, #codehint-menu-bar *,"+
    "#quick-view-container *, #function-hint-container *  { font-size: 16px !important;"+
    " line-height: 30px !important; }"+
    ".sidebar li { min-height: 30px !important;}"+
    ".sidebar-selection, .filetree-selection { min-height: 30px !important; margin-top: 5px;}"+
    ""+".jstree-icon{margin-top:10px !important} .filetree-selection-extension{margin-top: 5px; height: 30px !important;} .jstree-rename-input{ margin-top: 2px !important; height: 30px !important;   padding-bottom: 0px !important;} "
    );
    });

answered Jan 11, 2021 at 11:22

Luhn's user avatar

LuhnLuhn

6566 silver badges14 bronze badges

How to change the application font size in brackets?

I want to change the font size of the side menu, menu bar, bottom bar and title bars of the editor which is very small. [ctrl] + [+] will only change the editor font size.

4castle's user avatar

4castle

31.9k11 gold badges70 silver badges104 bronze badges

asked Sep 3, 2016 at 18:13

Shanika Ediriweera's user avatar

As Shanika suggested, «UI too small» allows you to control the size of the side/Menu fontSize, but it doesn’t answer to Ctr + or -.

Nevertheless, you can still do it manually by changing directly the main.js under Brackets->extensions->user->ui-too-small->main.js Or by clicking on the menu Help then Show Extensions Folder, and click on main.js under user/ui-too-small.

Open main.js and change the fontSize you want in font-size: 22px

answered Sep 10, 2018 at 10:32

mustapha mekhatria's user avatar

0

It’s 5/2019 and still this is a problem.

Issue was opened at 2014.

Think about, there is kind a populer code editor and even if you want to increase font size of file tree which is really small, you can’t without an extension (UI too small).
Weird.

answered May 17, 2019 at 11:02

berkan's user avatar

You can change the setting for the ui-too-small plugin For windows trough:
Help > Show Extensions Folder > Navigate to user > Navigate to ui too small > open main.js

I personally like the following settings (Material design):

    define(function (require, exports, module) {
        "use strict";

    ExtensionUtils.addEmbeddedStyleSheet("#sidebar *, #main-toolbar *, #titlebar *, #problems-panel *,"+
    "#find-in-files-results *, #e4b-main-panel *, #status-bar *,"+
    "#main-toolbar *, #context-menu-bar *, #codehint-menu-bar *,"+
    "#quick-view-container *, #function-hint-container *  { font-size: 16px !important;"+
    " line-height: 30px !important; }"+
    ".sidebar li { min-height: 30px !important;}"+
    ".sidebar-selection, .filetree-selection { min-height: 30px !important; margin-top: 5px;}"+
    ""+".jstree-icon{margin-top:10px !important} .filetree-selection-extension{margin-top: 5px; height: 30px !important;} .jstree-rename-input{ margin-top: 2px !important; height: 30px !important;   padding-bottom: 0px !important;} "
    );
    });

answered Jan 11, 2021 at 11:22

Luhn's user avatar

LuhnLuhn

6566 silver badges14 bronze badges

The customization workspace is helpful for setting up and make the modifications in the work area. The workspace modifications like font size, sidebar, error warnings, quick view, themes, etc., according to the developer’s convenience.

The modifications in the workspace or work area are —

  • Theme Change
  • Change Font Family
  • Changing Font Size
  • Word Wrap
  • Line Numbers
  • Space or Tab preference
  • File type
  • Insert/Overwrite mode
  • Cursor/File info

Theme Change —

The themes option is present in the view menu. The Brackets light theme was applied to the tool by default. There are a lot of other themes in the extensions manager. If someone wants to use a new theme, then select the theme from the list and install it.

When the themes are installed, they cannot be applied to the editor. If you plan to change the theme for the editor, then click on the view menu and then click on the themes button. Then a dialogue box is opened. In that box, under the option «current theme», select the required theme.

The installed theme is present in the current theme option.

View -> Themes -> Current Theme 

Adobe Brackets Basics

Change Font Family —

The next one is how to change the font in the bracket editor. First, click on the view menu and then click on the themes. By clicking on the themes, a dialogue box is opened. In that dialogue box, there is an option for changing the font. If you want to change the font, change it and then click on done.

View -> Themes -> Font Family 

Adobe Brackets Basics

This method can only change the font of the text in the editor, not the font on the website.

Changing Font Size —

Options for changing of the font size are present in the view menu. There are three ways to change the font size. They are —

Word Wrap —

The word-wrap button is present in the view menu. If the word wrap button is on, then the new words after specified length can automatically start in the new line. If the word wrap button is off, then the new words are displayed horizontally. So, every time scrolling horizontally is difficult. By default, the word-wrap button is set to ‘on’.

 View -> Word Wrap

Customizing Workstation

Line Numbers —

The line numbers button is present in the view menu. If the line numbers button is on, then the line numbers in the editor can be visible. If the word wrap button is off, then the line numbers in the editor cannot be visible. By default, the line numbers button is ‘on’.

 View -> Line Numbers

Customizing Workstation

Space or Tab preference —

Space and tab preferences can be set using the bottom status line. For example, if the space value is given as four and presses the tab on the keyboard, it provides the four spaces every time.

Space -> Value 
	or 
Tab Space -> Value 

Customizing Workstation

File type —

The file type button is present on the right side of the status bar. Brackets use the file type to determine the syntax used to highlight the code based on the extension. On the bottom right, there is an option for the type of file being edited. Click on that to get a pop-up menu of all possible file types. Select any one of the file types, and start coding the corresponding type. By default, HTML is the file type.

Change File Type -> Select File Type

Customizing Workstation

Insert/Overwrite mode —

The insert/overwrite mode is present on the right side of the status bar. This button is used to change the mode between the insert and overwrite. The insert mode is used to insert the text, and the overwrite mode is used to overwrite the text.

Insert/Overwrite Mode -> Insert  
	or
Insert/Overwrite Mode -> Overwrite 

Customizing Workstation

Cursor/File info —

The cursor or file information is present on the left side of the status bar. It specifies the cursor position that includes the current line number, column number, and the total number of lines in the file.

Customizing Workstation

В данной записи мы с вами рассмотрим новый редактор кода Brackets. Это очень удобный и компактный редактор кода, который подойдет как новичкам так и опытным программистам. Данный редактор легкий и простой как Sublime Text и многофункциональный как PHP Storme.

Ссылка на редактор — http://brackets.io

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

Давайте я вам покажу основные моменты настройки редактора, а так же посмотрим его функционал.

Оформление

Во вкладке «Вид->Themes» вы можете изменить основные настройки оформления. По стандарту имеются две темы — Brackets Dark и Brackets Light, но в дальнейшем вы сможете установить тему из библиотеки.

Вы можете также изменить размер и семейство шрифта. Вы можете использовать любой шрифт который имеется в вашей системе.

Во вкладке Вид есть и другие настройки, которые позволяют изменить оформления редактора.

  • вы можете разделить экран и открыть одновременно 2 файла. Для этого нужно выбрать Vertical Split или Horizontal Split.
  • можно скрыть боковую панель нажав на соответствующий пункт меню
  • увеличить или уменьшить размер шрифта
  • нажмите на «Подсвечивать активную область» и редактор будет подсвечивать строку на которой находится курсов
  • вы можете отключить или включить нумерацию строк
  • «Заворачивать строки» данный параметр позволяет заворачивать длинные строки кода, которые вылазят за размеры окна редактора.

Добавление новых плагинов и тем

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

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

Навигация

Это первый редактор который так подробно описывает файл в котором вы работаете. Здесь вы можете узнать количество строк и столбцов в файле, указать тип файла из списка, без труда поменять кодировку, а так же поменять тип курсора.

Быстрый просмотр и замена стилей элемента.

Выбираете элемент, нажимаете Ctrl + E и появляется окно со всеми стилями, которые применены к данному элементу. Вы можете их переписать или добавить новые и они сохраняться в том файле в котором они были прописаны.

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

1)Нажав на кодировку цвета у таких свойств как background, color, border и так далее, и нажав клавиши Ctrl + E, у вас появляется окно с палитрой, где вы сможете выбрать нужный вам цвет

2) Вы можете нажать тоже сочетание клавиш выбрав значение свойства animate и тогда у вас выведется окно с графиком анимации.

Я испробовал не все свойства, поэтому не могу описать все окна которые предоставляет нам данный редактор для быстрого редактирования. Возможно на тот момент когда вы будете читать эту запись появятся обновления которые добавят новые окна.

Быстрый доступ к редактированию функции JavaScript

Данный редактор позволяет быстро править JS функции, аналогично правкам CSS.

Встроенная документация

Аналогично предыдущему правилу вы можете увидеть справку по CSS свойствам и по HTML тегам. Для этого нужно выбрать нужное свойство или тег и нажать клавиши Ctrl + K? после чего у вас появится окно в котором будет информация о данном элементе.

Возможность просмотра изменений после редактирования без перезагрузки страницы.

С помощью данной функции вы можете открывать файл и браузер на разных мониторах и просматривать изменения без перезагрузки страницы.

К сожалению на тот момент, когда я пишу эту запись, эта функция работает только для браузера Chrome.

Я хочу изменить размер шрифта для редактирования в скобках с размера по умолчанию на 16pt.

Я перехожу к просмотру -> тема -> редактирую размер шрифта до 16 пунктов или другого размера, но он не меняется.

4 ответа

Лучший ответ

Попробуйте сочетание клавиш Ctrl + +


10

jonrsharpe
19 Ноя 2015 в 08:53

Перейдите в раздел Скобки> просмотр> затем выберите увеличить или уменьшить размер шрифта в раскрывающемся меню. Продолжайте, пока не получите шрифт нужного размера. Чтобы увидеть ваши изменения, перейдите в скобки> просмотр> темы


0

Sonya
26 Июн 2018 в 00:16

I. РЕДАКТОР ШРИФТА

  1. запустить скобки от имени администратора (скобки sudo или в выигрыше щелкните правой кнопкой мыши …)
  2. Отладка -> Открыть файл настроек -> ctrl + f «размер»
  3. Сохраните оба файла -> перейдите к просмотру -> тема, и размер шрифта изменится

II. скобки UI (шрифты меню) слишком малы на Ubuntu 16.04 64 бит

См. https://github.com/1beb/ui-too-small — это работает для меня.


7

slavko srakocic
25 Сен 2016 в 16:11

Зайдите в view-> themes-> fontsize

Оно работает


10

sree lakshmi
26 Мар 2018 в 06:11

Понравилась статья? Поделить с друзьями:
  • Brackets как изменить браузер
  • Braava 390t error codes
  • Bq2817 ошибка зарядки
  • Bq boom xl как изменить громкость
  • Bpwin как изменить title