GithubHelp home page GithubHelp logo

Comments (4)

mondique avatar mondique commented on July 17, 2024 1

It seems that it thinks that < is the beginning of a scope (an opening brace). As you can see, it highlights the text after > and the original < is highlighted as the corresponding brace for the > sign.
(And by the way, the closing > sign was not shifted by me - I typed it at the beginning of the line - it was probably aligned with the line 2 containing "<")

vscode version: 1.29.1
Kotlin Language version: 1.7.0 (from marketplace)
OS: Windows 10 Pro version 1803

capture

from vscode-kotlin.

valen214 avatar valen214 commented on July 17, 2024

/syntaxes/Kotlin.tmLanguage: line 829 suggests the cause is '<' being captured as generic.begin

from vscode-kotlin.

wildlava avatar wildlava commented on July 17, 2024

I can verify that temporarily changing the symbols for "<" and ">" on lines 831 and 841 of Kotlin.tmLanguage causes the problem to go away. It might work, therefore, just to remove the detection of the generic begin/end chars (at least as a stop-gap solution). But I am not sure of the exact changes to this file that would be required to do that.

from vscode-kotlin.

Mithrandir2k18 avatar Mithrandir2k18 commented on July 17, 2024

Issue still present, check out this file, commit d2e703c, line 63

Kotlin v1.7.0
Windows 10 1709, 16299.1625
Code v 1.42.0

from vscode-kotlin.

Related Issues (20)

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.