Sublime + COLT. Add intelligence to your IDE
We made the integration of COLT with Sublime. The changes are so significant that we even added a unit after the point and now COLT has version 1.2.5.
What is the release feature? We call it Real Time Programming .
The idea is that having the application running all the time, you have the opportunity to know all the time how your code works. We supply each function in your code with special observers who can execute any code in the function and store all the values of the variables from the last run.
What is the result? Autocomlite now sees real fields and functions of objects. Press ctlr + space and -

Or, even so! -

Or so.

The suffix [COLT] in the autoclite indicates that information about this field / function is obtained from the application memory. Also note that COLT displays information about the actual function arguments.
Now we can start any function - place the cursor in the body of the function or on its name and press shift + F5.
Moreover (this is important), calling the function repeatedly, you call it with the same arguments that it was called the last time! For example, you changed its logic, called a function - looked at the logs, looked at the browser, moved on, started this function again.
Go to Declaration - F3. Now you will always find your function, wherever it is referenced and called. COLT, in order to achieve the effect of “live delivery” of code changes, knows where each “live” function is located, in which file. Each is numbered - the function has its own unique ID. Therefore, when you call a function or your variable refers to a function, now you will definitely go to its declaration. Even if the JS document is not open!


With the new autocomplete and Goto Declaration functionality, it has become more convenient to develop jquery plugins and work / maintain code with complex inheritance and "functionality".
Finally, you can find out at any time the value of any field or variable. Just set the cursor on the field and press Shift + F10.

Since all these new features are available only when a web application is launched at the time of development, it is in Live mode, we made launching the application, creating a COLT project as simple as possible. To start a page from Sublime to COLT, you just need to go to the HTML tab that you want to launch and call the "Run with COLT" command - cmd + shift + F10. No need to run COLT, open, create and configure a project.
To restart the COLT session, you need to press this combination again.
To make a simple Reload page just press
cmd + shift + R.
To monitor the status of the connection, and you can simply minimize the COLT or browser window, and you need to know if everything is in order there, we have added a simple way to indicate the status.
At the bottom of the Sublime window there is information about the status of the connection.

Disconnected from COLT - COLT was either not opened or Sublime was closed and the state was lost. Press shift + cmd + F10 to launch COLT and the application in live mode.
Connected to COLT - Sublime “sees” COLT, but the session is not running. May be due to emergency termination of the application. We are doing our best to maintain the life of the application, run only the correct code, catch errors, but anything can happen.
[~] Connected to COLT - this is already working mode. The application is launched in Live mode and the Real Time Programming world is available to you. The small tilde in square brackets is the textual representation of the green lightning indicator in COLT.
Install the latest version of COLT from the sitecodeorchestra.com
And install the Sublime package “COLT” through Package Control.
You can easily migrate the functionality of our Sublime extension to other editors. Sources are three Python files. Everything is relatively clear there.
What is the release feature? We call it Real Time Programming .
The idea is that having the application running all the time, you have the opportunity to know all the time how your code works. We supply each function in your code with special observers who can execute any code in the function and store all the values of the variables from the last run.
What is the result? Autocomlite now sees real fields and functions of objects. Press ctlr + space and -

Or, even so! -

Or so.

The suffix [COLT] in the autoclite indicates that information about this field / function is obtained from the application memory. Also note that COLT displays information about the actual function arguments.
Now we can start any function - place the cursor in the body of the function or on its name and press shift + F5.
Moreover (this is important), calling the function repeatedly, you call it with the same arguments that it was called the last time! For example, you changed its logic, called a function - looked at the logs, looked at the browser, moved on, started this function again.
Go to Declaration - F3. Now you will always find your function, wherever it is referenced and called. COLT, in order to achieve the effect of “live delivery” of code changes, knows where each “live” function is located, in which file. Each is numbered - the function has its own unique ID. Therefore, when you call a function or your variable refers to a function, now you will definitely go to its declaration. Even if the JS document is not open!


With the new autocomplete and Goto Declaration functionality, it has become more convenient to develop jquery plugins and work / maintain code with complex inheritance and "functionality".
Finally, you can find out at any time the value of any field or variable. Just set the cursor on the field and press Shift + F10.

Since all these new features are available only when a web application is launched at the time of development, it is in Live mode, we made launching the application, creating a COLT project as simple as possible. To start a page from Sublime to COLT, you just need to go to the HTML tab that you want to launch and call the "Run with COLT" command - cmd + shift + F10. No need to run COLT, open, create and configure a project.
To restart the COLT session, you need to press this combination again.
To make a simple Reload page just press
cmd + shift + R.
To monitor the status of the connection, and you can simply minimize the COLT or browser window, and you need to know if everything is in order there, we have added a simple way to indicate the status.
At the bottom of the Sublime window there is information about the status of the connection.

Disconnected from COLT - COLT was either not opened or Sublime was closed and the state was lost. Press shift + cmd + F10 to launch COLT and the application in live mode.
Connected to COLT - Sublime “sees” COLT, but the session is not running. May be due to emergency termination of the application. We are doing our best to maintain the life of the application, run only the correct code, catch errors, but anything can happen.
[~] Connected to COLT - this is already working mode. The application is launched in Live mode and the Real Time Programming world is available to you. The small tilde in square brackets is the textual representation of the green lightning indicator in COLT.
Install the latest version of COLT from the sitecodeorchestra.com
And install the Sublime package “COLT” through Package Control.
You can easily migrate the functionality of our Sublime extension to other editors. Sources are three Python files. Everything is relatively clear there.