GithubHelp home page GithubHelp logo

Comments (3)

hiagorios avatar hiagorios commented on June 24, 2024 1

Same here, switching to 1.29.0 works.

from vscode-java.

snjeza avatar snjeza commented on June 24, 2024

I can't reproduce the issue.
@mainmethod0126 @hiagorios Could you attach the Java Language Server's workspace logs ?

from vscode-java.

rgrunber avatar rgrunber commented on June 24, 2024

I'm able to reproduce this as well with VS Code 1.81.1 . The Paste API (still experimental) was updated in 1.88.0 and it broke being able to use < 1.29.0 of our extension with VS Code >= 1.88.0. We fixed it in 1.30.0 but didn't make it backwards compatible. I did confirm regular copy/paste would work as usual (without the auto-import/auto-escape behaviour).

Definitely a bug though.

Update(s):

Temporary workaround if you wish to be on 1.81.1 (1.82.0 or newer don't seem to have this specific problem) :

"[java]": {
        "editor.pasteAs.enabled": false
}

The behaviour is not the same on all version. Using the 1.30.0 extension on different VS Code versions with editor.pasteAs.enabled enabled :

1.88.0 : smart paste works
1.87.2 : no smart paste, but regular paste still works
... (all versions in between exhibit same behaviour, regular paste still works)
1.82.0 : no smart paste, but regular paste still works
1.81.1: no smart paste, no regular paste

from vscode-java.

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.