Git Product home page Git Product logo

thetalanguagesupport-vscode's Introduction

Theta Language Support for Visual Studio Code

Overview

This Visual Studio Code extension provides syntax highlighting support for the Theta programming language. It enhances the editing experience by colorizing syntax elements such as keywords, variables, functions, comments, and more, making code easier to read and understand.

Screen Shot 2024-06-14 at 5 56 00 PM

Features

  • Syntax Highlighting: Colorizes various syntax elements including keywords, variables, functions, and comments.
  • Multi-line Comment Support: Highlights multi-line comments using /- ... -/ delimiters.
  • Function Declaration and Call Highlighting: Differentiates function declarations from function calls with appropriate highlighting.
  • Type Highlighting: Recognizes and highlights types enclosed within < >, including nested types.

Installation

To install the Theta Language Support extension:

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or by pressing Ctrl+Shift+X.
  3. Search for "Theta Language Support".
  4. Click Install to install the extension.
  5. Once installed, the extension will provide syntax highlighting for .th and .theta files automatically.

Usage

After installing the extension, it will automatically highlight Theta syntax in any .th file you open in Visual Studio Code. The syntax highlighting helps you quickly identify different elements of your code, improving readability and reducing errors.

Supported Syntax Elements

  • Keywords: if, else, return, etc.
  • Variables and Functions: Highlighted differently based on context.
  • Types: Recognizes and highlights types within < >, supporting nested types.
  • Operators: Highlighted for clarity, including arithmetic and logical operators.
  • Comments: Single-line // and multi-line /- ... -/ comments are supported.

thetalanguagesupport-vscode's People

Contributors

alexdovzhanyn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.