Coder Social home page Coder Social logo

vscode-spectra-assist's Introduction

vscode-spectra-assist

Features

Syntax Highlighting for spectra *.in files (specifically calculation statements in input files)

Makes the code just that little bit easier on the eyes.

Extension Setup

From the Marketplace

Search for the Spectra Assist extension by seanfroste in the VSCode Extensions tab

From VSIX

  1. Grab the VSIX package from the Releases page
  2. Open the command palette (F1 or Ctrl+P)
  3. Use the Extensions: Install from VSIX... command and to select the VSIX package you just downloaded

From Source

  1. Clone this extension into the VSCode extensions folder (%USERPROFILE%\\.vscode\\extensions\\ on Windows, ~/.vscode/extensions/)
  2. Just open a *.in file! if you don't see any syntax highlighting on what you think is a valid file, open the command palette (F1) and try "Change Language Mode".
  3. Type in "spectra" to filter the languages and select spectra-in as your language of choice.

Feature requests

Just open an issue! make sure to provide details, screenshots, anything that'll get your idea across! If it sounds concrete and I have time, I'll implement it!

DISCLAIMER

I am not affiliated with Link Research Corporation or the SPECTRA 3d device simulator.

This extension was written for recreation over a couple of weeks, and to learn how language extensions work

vscode-spectra-assist's People

Contributors

seanfroste avatar

Stargazers

 avatar Tejus Kusur avatar

Watchers

 avatar

vscode-spectra-assist's Issues

Need for change in mandatory parameters suggested in DOPE statement

Current autocomplete for the DOPE statement suggests XMIN XMAX YMIN YMAX as mandatory parameters. However, this is not the case when using a MASK statement in conjunction with DOPE, where the box defined by XMIN XMAX YMIN YMAX can be skipped.

CM on the other hand is a mandatory parameter which defines the maximum concentration. This must be used in all cases and can be included

Screenshot 2024-04-18 131150

User defined variables

add highlighting support variables created by the user using the DEFINE keyword

Variables are created as follows:

DEFINE NAME=xyz VALUE=abc ...

Snippets for statements and parameters

  • Add snippets for statements and their required parameters, using the recommended abbreviations as snippets triggers

  • Allow for additional individual parameter names to be triggered in the same way (using their abbreviated forms)

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.