Giter VIP home page Giter VIP logo

vscode-bug-no-didclose's Introduction

vscode-bug-no-didClose

Sample project to reproduce an issue where textDocument/didOpen triggers for files returned from "Find References", but no corresponding textDocument/didClose triggers. The didClose event does not trigger even after opening the file from the "References" pane and then closing it.

Bug reproduction steps

  1. Run npm install
  2. Create a new workspace folder with some text files:
mkdir /tmp/test-workspace
echo "File 1" > /tmp/test-workspace/file1.txt
echo "File 2" > /tmp/test-workspace/file2.txt
echo "File 3" > /tmp/test-workspace/file3.txt
  1. Run debug configuration "Launch Client"
  2. Open the workspace folder created in step #2.
  3. Open file file1.txt
  4. Right-click the word File in file1.txt and "Find References". Notice the errors from file2.txt in the "Problems" pane
  5. Opening file2.txt and then closing it will not remove the published diagnostics, nor does clearing it from the References results pane.
  6. Closing the original file1.txt will clear the diagnostics for this file.

See bug video here:

vscode-bug-no-didClose

vscode-bug-no-didclose's People

Contributors

kevineady avatar

Watchers

 avatar

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.