[IDE Tip] how you setup sublime for using with the ESP-IDF
Posted: Sun Aug 18, 2019 11:04 pm
hi folks
who is using this editor for esp-idf?
i tested the things for fun and i must say, it is not to bad.
for using with ESP-IDF you can create a custom build file, i did try this for a windows setup and test just in time the (windows) things for using it near usually programming IDE.
if you want try it out by self, i share my custom build setup file, if you find a better way or mistake or anything,
plz let me know.
here you are, it is simple json format
you can simple expand the custom build - example with make app, make flash app, make bootloader and so on..
be sure you have setup the IDF_PATH right
i created for this the xport_idf_path.sh like in the RTF is written
sure - you can use environment vars in sublime too - like you want to do this.
important is, that the shell finds the IDF_PATH and it should work then.
one point i am not 100 prozent sure, is the clean prozess.
i think it is enough to give (Only) the "$folder", i read on, there are some things with "../$folder" possible,
but i want not clean up my projekt completly - ,
you can find nice RTF to this theme.
hope this helps other people if someone want test this nice "IDE".
i know - few espressifer's are using this too - watch the espressif video's and you will find the using there
so i did found sublime - not used before - i use usually Uedit32 and N+++ also HIEW and other stuff.
i give sublime a try for this for now.
best wishes
rudi
Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use.
There is currently no enforced time limit for the evaluation.
cause only 3 attachments allowed,
you find the flashing linked here: here is the flashing
who is using this editor for esp-idf?
i tested the things for fun and i must say, it is not to bad.
for using with ESP-IDF you can create a custom build file, i did try this for a windows setup and test just in time the (windows) things for using it near usually programming IDE.
if you want try it out by self, i share my custom build setup file, if you find a better way or mistake or anything,
plz let me know.
here you are, it is simple json format
Code: Select all
{
"cmd": ["C:/msys32/msys2_shell.cmd","-mingw32", "-where", "$folder"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"selector": "source.c, source.c++",
"variants": [
{
"name": "ESP32-IDF Menuconfig",
"cmd" : ["C:/msys32/msys2_shell.cmd","-mingw32", "-where", "$folder", "-c", "make menuconfig"],
},
{
"name": "ESP32-IDF Clean",
"cmd" : ["C:/msys32/msys2_shell.cmd","-mingw32", "-where", "$folder", "-c", "make clean"],
},
{
"name": "ESP32-IDF Flash",
"cmd" : ["C:/msys32/msys2_shell.cmd","-mingw32", "-where", "$folder", "-c", "make flash"],
},
{
"name": "ESP32-IDF -j4 All",
"cmd" : ["C:/msys32/msys2_shell.cmd","-mingw32", "-where", "$folder", "-c", "make -j4 all"],
},
]
}
be sure you have setup the IDF_PATH right
i created for this the xport_idf_path.sh like in the RTF is written
sure - you can use environment vars in sublime too - like you want to do this.
important is, that the shell finds the IDF_PATH and it should work then.
one point i am not 100 prozent sure, is the clean prozess.
i think it is enough to give (Only) the "$folder", i read on, there are some things with "../$folder" possible,
but i want not clean up my projekt completly - ,
you can find nice RTF to this theme.
hope this helps other people if someone want test this nice "IDE".
i know - few espressifer's are using this too - watch the espressif video's and you will find the using there
so i did found sublime - not used before - i use usually Uedit32 and N+++ also HIEW and other stuff.
i give sublime a try for this for now.
best wishes
rudi
Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use.
There is currently no enforced time limit for the evaluation.
cause only 3 attachments allowed,
you find the flashing linked here: here is the flashing