How to set up Sublime Text 3 for React?

Emma

I'm trying to set up my Sublime Text 3 for React like the screenshots in this link, didn't succeed to make it though.

Maybe I have some extra packages or settings that would show my index.js syntax like below:

enter image description here

sublime-settings:

{
    "auto_complete": true,
    "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
    "dictionary": "Packages/Language - English/en_US.dic",
    "ensure_newline_at_eof_on_save": false,
    "font_face": "MONACO",
    "font_size": 16,
    "show_line_endings": true,
    "show_panel_on_build": true,
    "spell_check": true,
    "theme": "Adaptive.sublime-theme",
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true
}

I also have these packages:

enter image description here

How do I do that?

(Thanks! I'm new to React/js/jsx)

cd3k

The best package I found for react/jsx on sublime was Naomi. It deals with syntax highlighting and has a lot of other features.

https://packagecontrol.io/packages/Naomi

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Set up Python 3 build system with Sublime Text 3

Unable to set up word wrap in Sublime Text 3

How can I set up Sublime Text 3 so that I can search only for folders and files inside my project?

How do I set the default indentation settings for Sublime Text 3?

How to set symlink short cut to Sublime Text 3 in terminal?

how do I set shortcuts on sublime text 3?

How to set shortcut for `Copy file path` in sublime text 3

How to set HTML Auto Indent format on Sublime Text 3?

Setting up AngularJS for TypeScript in Sublime Text 3

How do I change the speed of text motion when paging up/down in Sublime Text 3?

Sublime Text: How to set up begining of line/end of line shortcuts to match the shell?

How to move line up in Mac for Sublime Text?

How to make multi-line pop-up in Sublime Text 3 plugin

How to select a column of text in Sublime Text 3?

how to set Sublime Text to default preference?

How to set up app container in React-Navigation-3?

Sublime Text 3 - Set Default "Plain Text" to Java

Keybinding alt+up won't work in Sublime Text 3

How do you set the default file extension for a syntax in Sublime Text 3?

How to set maximum width of file tabs (i.e., tabset_control) in Sublime Text 3?

How to set default file extension of saving file for specific syntax in Sublime Text 3

How to set Sublime Text 3 mouse event to trigger both custom behavior and default behavior?

How to set highlighting of do-end blocks in Sublime Text 3 for ruby?

How to set up Eslint with React

How to set up React with Meteor?

How to setup Ctags for Sublime Text 3

How to change background color of Sublime Text 3?

How to change a build version in Sublime Text 3

How to align texts in Sublime Text 3?