This is very simple to implement and saves some time clicking around.
In terminal you can use this line of code.
open -a Brackets serve.go
open = self explanatory
-a = access any application
Brackets = can be any app you have in your applications folder. The file will be opened in this app.
serve.go = any filename that currently exists in the directory that you are in.
If you need to create a file use:
If you need to create a directory:
If you need to move to the directory you just created use:
You can learn more here: