Git Product home page Git Product logo

Comments (4)

marwie avatar marwie commented on June 4, 2024

Hi @krisrok thanks for the report and detailed information
I'll try to reproduce that here easily reproduced - sorry about that

from needle-engine-support.

marwie avatar marwie commented on June 4, 2024

Hi @krisrok it should be fixed in the next update. Again thanks for the report

from needle-engine-support.

krisrok avatar krisrok commented on June 4, 2024

Thanks!

Did you also have the chance to look at opening individual .ts files with the correct VS instance (instead of the last active one)? This seems to be a bit trickier as VS does not know where the file belongs (not part of any "real" solution).

from needle-engine-support.

krisrok avatar krisrok commented on June 4, 2024

Tested 3.11.5-pre and I'd say it's a partial fix. This should maybe be split to several issues.

Please understand the thumbs up/down as "desired"/"undesired" :)

[ ] Use VScode

  • "Open workspace"
    • If no VS instance is already open:
      • It correctly opens in folder view πŸ‘
      • The "background tasks" in Unity displays an entry as long as this VS instance is alive πŸ‘Ž
    • If any other VS instance is already open
      • Its main window pops into foreground, nothing else happens πŸ‘Ž
  • "Open foo.ts"
    • If "Open workspace" went through (see above)
      • It correctly opens the file in the (only) VS instance πŸ‘
    • If no VS instance is already open:
      • It opens the workspace in folder view πŸ‘
      • Additionally, it opens foo.ts in a separate instance πŸ‘Ž
    • If any other VS instance is already open
      • It does not open the workspace but opens foo.ts in the unrelated VS instance instead πŸ‘Ž

[x] Use VSCode

  • "Open workspace"
    • Works, as beforeπŸ‘
    • But still emits 'code' is not recognized as an internal or external command, operable program or batch file. in two separate log entries πŸ‘Ž
  • "Open foo.ts"
    • If no VS instance is already open:
      • It opens the workspace VSCode πŸ‘
      • Additionally, it opens the workspace in folder view in a new VS instance πŸ‘Ž
    • If any other VS instance is already open
      • It opens foo.ts in VSCode πŸ‘
      • Before VSCode gains focus, the VS instance is called to foreground for a sec πŸ‘Ž

from needle-engine-support.

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.