Giter Site home page Giter Site logo

captbaritone / vscode-implicit-parentheses Goto Github PK

View Code? Open in Web Editor NEW
28.0 5.0 2.0 308 KB

Clarify JavaScript operator precedence by showing implicit parentheses as inline decorations.

Home Page: https://marketplace.visualstudio.com/items?itemName=JordanEldredge.implicit-parentheses

License: MIT License

TypeScript 74.78% HTML 5.79% JavaScript 19.43%
vscode vscode-extension editor decorations

vscode-implicit-parentheses's People

Contributors

aleclarson avatar captbaritone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vscode-implicit-parentheses's Issues

Extension not showing parentheses for existing files

I found that the extension sometimes struggles to show parentheses for existing files. It doesn't show parentheses for the lines below. Copying the lines to another file does show parentheses there, but not even removing and re-adding the lines to the original files seems to force the parentheses to show up.

let translation = await translator.translateText(
    text,
    source === "auto" ? null : source as SourceLanguageCode, // <-- HERE
    target as TargetLanguageCode,
    {
        preserveFormatting: true
    }
);
let languages = focusedOption.name === "source" ? await translator.getSourceLanguages() : await translator.getTargetLanguages();

PS: The big parentheses option doesn't seem to work either. If the parentheses render, even with the option on, they show up as tiny subscript ones

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.