[CQ04] Build System Basics

  Рет қаралды 12,609

OdatNurd - Sublime Text Tutorials

OdatNurd - Sublime Text Tutorials

Күн бұрын

Пікірлер: 34
@wi0lono
@wi0lono 3 жыл бұрын
Thank you so so much! There was a Sublime build system package that wasn't working for me, and this video helped me figure out how to get it to work. Videos like these keep the Internet from catastrophe.
@OdatNurd
@OdatNurd 3 жыл бұрын
Thanks, so glad I could help!
@vvictorreis777
@vvictorreis777 5 жыл бұрын
Thank you very much! Now I’m able to execute the code using terminus!
@OdatNurd
@OdatNurd 5 жыл бұрын
Glad I could help!
@anilshrestha1272
@anilshrestha1272 4 жыл бұрын
you surely are a sublime fanatic guy,anyway thanks for the terminus package you made life lot easier.surely recommend other
@OdatNurd
@OdatNurd 4 жыл бұрын
Happy to help! :)
@kbreit
@kbreit 4 жыл бұрын
I want to develop a build system which called external testing tools for Python. This includes setting working directories, potentially setting venv, etc. Is there a video on how to accomplish this?
@OdatNurd
@OdatNurd 4 жыл бұрын
I don't have anything like that at the moment (most of my work in Python is in the Sublime plugin environment). It sounds doable though. Do you have an example of a tutorial showing how to do this outside of Sublime? I could probably adapt something like that fairly easily.
@ayushrajput6284
@ayushrajput6284 4 жыл бұрын
Sir is it possible to make a interactive build system for MongoDB in sublime text.. Where we can code in terminal also
@OdatNurd
@OdatNurd 4 жыл бұрын
This should indeed be possible! I'd use Terminus for this and have it execute the mongo shell
@oooooo-gp1um
@oooooo-gp1um 3 жыл бұрын
Thanks for making these videos, they are quickly clearing up all my questions about build systems, but I still can't figure something out. I'm working on making a basic programming language-inside of python-And I was wondering how I would run a python program as the build system, and how I would access the $file variable inside of that program?
@kcvinu
@kcvinu 11 ай бұрын
I have created and using similar build system. Just wrote a python script using subprocess module and threads. Based on file extensions, my script will decide which command will use from the prefixed commands collection. Once the command is fixed, run it with subprocess. Start reading it's STDOUT & STDERR streams from two different threads. Just read it and print it on screen, so that I can see the real time outputs from my code/compiler. Once the script is ready, just add it to sublime build system lime this. "cmd": ["python", "path/to/my_script.py", "${file}"] Now, when I press Ctrl + B, my python script will start and do the build job.
@andy2486
@andy2486 3 жыл бұрын
Thanks for that great videos! Is there a way to highlight the build output as well? For example use the file_regex match to highlight the build output error in red or so?!
@OdatNurd
@OdatNurd 3 жыл бұрын
Build systems support a key named `syntax` that sets the syntax uses to highlight the output in the panel; the default is `Plain Text` which is why there's no color. Given a suitable definition, that's definitely possible but potentially not trivial depending on the output in question (also Terminus doesn't support that option, if that matters)
@solrainer7
@solrainer7 3 жыл бұрын
Why I can't see intext error tag using termius in build system? Standart hotkeys F4 and shift+F4 still working with termius... With using standart terminal output intext error tag shows correctly.
@OdatNurd
@OdatNurd 3 жыл бұрын
Do you mean the phantom annotations in the files that your'e editing that display the errors? If so, that's something that Terminus would have to do but it currently doesn't. The functionality that does that is in the plugin that's used to execute builds by default, but Terminus doesn't replicate it.
@solrainer7
@solrainer7 3 жыл бұрын
@@OdatNurd , thanks a lot. I thought that "sublime text" parsing terminal output by seted regexp and shows those phantom annotations. And I thought where I could made mistake with termius install.
@Minickg
@Minickg 2 жыл бұрын
Is there any way to show me how to set up build system for C programming on ST4? I have tried to search Internet but i have not found any answer...
@OdatNurd
@OdatNurd 2 жыл бұрын
Does the predefined build not work for you?
@Minickg
@Minickg 2 жыл бұрын
@@OdatNurd Predefined yes... I want set up ST4 so i can take input or do output... I have installed Terminus, too. Help me pls :)
@OdatNurd
@OdatNurd 2 жыл бұрын
@@Minickg For that you want to follow the instructions in this video (but use your current build as the base and not the Python one): kzbin.info/www/bejne/m6Wse4CMftuJnck
@vidiodirector
@vidiodirector 4 жыл бұрын
Hi, is possible create a build system for use gcc compiler with three different tasks: compile, compile and run and just Run?
@OdatNurd
@OdatNurd 4 жыл бұрын
That's totally possible; a build can have as many "variants" as you would like. The "C Single File" and "C++ Single File" builds that ship with sublime cover a couple of these cases (Compile and Compile and Run) so you could create a build based on that one that includes just a "run" variant. A video covering this specific example should be coming soon as well.
@tomriddle2427
@tomriddle2427 4 жыл бұрын
I don't know much about JSON but isn't it like it takes something from server and supplies it to the client and if it is so then how is it working here inside build system when we write that piece of JSON code??
@OdatNurd
@OdatNurd 4 жыл бұрын
That's one of the uses of JSON, but it's more just a data-interchange format that's easy for computers to create and understand. So in this case it's more like a configuration file that tells Sublime information about how you want the build to work.
@tomriddle2427
@tomriddle2427 4 жыл бұрын
@@OdatNurd got it, thank-you and for the videos also it is very insightful just one thing more can you give a little more info or direct me towards it related to JSON working in this context that you just explained.
@onjulraz754
@onjulraz754 4 жыл бұрын
Thank you!
@OdatNurd
@OdatNurd 4 жыл бұрын
Glad I could help out! :)
@technp8780
@technp8780 4 жыл бұрын
sir please build system for kotlin to run in sublime text
@OdatNurd
@OdatNurd 4 жыл бұрын
I don't know much about Kotlin in general as I've never used it; does it come with command line tools you can use to build and run your code?
@randomviralshorts1501
@randomviralshorts1501 3 жыл бұрын
Look at the webcam in sublime 😂
@OdatNurd
@OdatNurd 3 жыл бұрын
Sublime makes everything better 😁
[CQ05] Common Build Problems
19:56
OdatNurd - Sublime Text Tutorials
Рет қаралды 16 М.
[PPR06] Terminus
14:00
OdatNurd - Sublime Text Tutorials
Рет қаралды 28 М.
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 15 МЛН
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 25 МЛН
[CQ32] Make any build system interactive with Terminus!
29:06
OdatNurd - Sublime Text Tutorials
Рет қаралды 37 М.
[CQ16] Projects and Workspaces
32:03
OdatNurd - Sublime Text Tutorials
Рет қаралды 7 М.
Setup Sublime Text for C++ 🤩 || Windows 🚀
4:30
NICspy
Рет қаралды 3,9 М.
[CQ18] Git Integration
22:56
OdatNurd - Sublime Text Tutorials
Рет қаралды 7 М.
[P101-01] How to get started writing plugins for Sublime Text
20:02
OdatNurd - Sublime Text Tutorials
Рет қаралды 7 М.
[CQ19] Sublime Merge Integration
18:45
OdatNurd - Sublime Text Tutorials
Рет қаралды 9 М.
Sublime Text 3 Setup - Most Important Packages
20:06
Alessandro “Alecaddd” Castellani
Рет қаралды 483 М.
Best Sublime Text Features and Shortcuts (Mac)
19:10
Corey Schafer
Рет қаралды 23 М.
[BU02] How to easily create your first Sublime Text build system
9:47
OdatNurd - Sublime Text Tutorials
Рет қаралды 11 М.