Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Installing a Text Editor and Its Packages | Basic Syntax and Coding with a Text Editor
Matlab Basics
course content

Course Content

Matlab Basics

Matlab Basics

1. Basic Syntax and Coding with a Text Editor
2. Coding Foundations
3. Learning Through Applications
4. Visualizations
5. Recursion and Matrix Multiplication

book
Installing a Text Editor and Its Packages

Programming directly in any language's Command Window is inefficient; instead, we use text editors that offer organized layouts, code folding, snippets, and linting. In this course, we'll use SublimeText, a free, lightweight, versatile, and well-established text editor.

Installing SublimeText

  • Go to www.sublimetext.com ;
  • Click Download at the top right;
  • Download the version for your operating system;
  • Open and install the download.
Note
Note

Check the prompt Add to explorer context menu so that you easily can find it when you're done.

Instruction

To set up SublimeText for folding, creating snippets, and linting Matlab code, follow these steps:

1. Installing Packages in SublimeText
expand arrow
  • Open SublimeText;
  • Open the Command Palette (Ctrl + Shift + P or Cmd + Shift + P on Mac);
  • Type Package Control: Install Package and press Enter;
  • Search for the package name and click on it to install;
  • Wait for the confirmation message at the bottom left indicating the installation is complete.
2. Required Packages
expand arrow
  • SyntaxFold (demonstrated in the video);
  • AutofoldCode;
  • SublimeLinter;
  • SublimeLinter-contrib-mlint (install SublimeLinter first);
  • PackageResourceViewer;
  • gruvbox (for the color theme).
3. Verifying Installed Packages
expand arrow
  • Open the Command Palette;
  • Type Package Control: List Packages;
  • Check the list of installed packages that appears.
4. Removing Unwanted Packages
expand arrow
  • Open the Command Palette;
  • Type Package Control: Remove Package;
  • Select the package you want to uninstall.
5. Troubleshooting
expand arrow

If you encounter any issues, refer to your Quick Reference for additional guidance.

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 3

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

course content

Course Content

Matlab Basics

Matlab Basics

1. Basic Syntax and Coding with a Text Editor
2. Coding Foundations
3. Learning Through Applications
4. Visualizations
5. Recursion and Matrix Multiplication

book
Installing a Text Editor and Its Packages

Programming directly in any language's Command Window is inefficient; instead, we use text editors that offer organized layouts, code folding, snippets, and linting. In this course, we'll use SublimeText, a free, lightweight, versatile, and well-established text editor.

Installing SublimeText

  • Go to www.sublimetext.com ;
  • Click Download at the top right;
  • Download the version for your operating system;
  • Open and install the download.
Note
Note

Check the prompt Add to explorer context menu so that you easily can find it when you're done.

Instruction

To set up SublimeText for folding, creating snippets, and linting Matlab code, follow these steps:

1. Installing Packages in SublimeText
expand arrow
  • Open SublimeText;
  • Open the Command Palette (Ctrl + Shift + P or Cmd + Shift + P on Mac);
  • Type Package Control: Install Package and press Enter;
  • Search for the package name and click on it to install;
  • Wait for the confirmation message at the bottom left indicating the installation is complete.
2. Required Packages
expand arrow
  • SyntaxFold (demonstrated in the video);
  • AutofoldCode;
  • SublimeLinter;
  • SublimeLinter-contrib-mlint (install SublimeLinter first);
  • PackageResourceViewer;
  • gruvbox (for the color theme).
3. Verifying Installed Packages
expand arrow
  • Open the Command Palette;
  • Type Package Control: List Packages;
  • Check the list of installed packages that appears.
4. Removing Unwanted Packages
expand arrow
  • Open the Command Palette;
  • Type Package Control: Remove Package;
  • Select the package you want to uninstall.
5. Troubleshooting
expand arrow

If you encounter any issues, refer to your Quick Reference for additional guidance.

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 3
some-alt