question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code outline: exportDefaultExpression outline could not show properly

See original GitHub issue
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS but i am pretty sure you can reproduce this in other platform
  • Vetur version: 0.24.0
  • VS Code version: 1.44

Problem

this is not a bug for now , but may happen in next release

  • VSCode Version:1.44.0
  • Electron: 7.1.11
  • Chrome: 78.0.3904.130
  • Node.js: 12.8.1
  • V8: 7.8.279.23-electron.0
  • OS: Darwin x64 18.7.0

Steps to Reproduce:

  1. use vscode inter typescript version which is 3.8.3
  2. open a test.js file , and input code as below
export default {
  a: 'string',
  b: 2,
  c () {
    
  }
}
  1. a exportExpression outline is looks like image

when i change the typescript version to 3.7.5 the outline show below, i think this may be better, but i am not sure if this is a typescript bug or vscode’s. image 大纲 is outline

Does this issue occur when all extensions are disabled?: Yes

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
octrefcommented, Aug 25, 2020

Fixed when updating TS to 4.0.2:

image

0reactions
rraihansaputracommented, Oct 12, 2020

Thanks @yoyo930021, will open up a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to show code outline in Visual Studio? - Stack Overflow
But I've not found it in Visual Studio yet. Is there such a window to show code outline at all? I tried both...
Read more >
Document Outline does not refresh anymore
The document outline does not refresh as I change source files anymore. This is a big problem. If I close a file and...
Read more >
vs code - VSCode Outline not loading for apex file
This happens when the Apex Language Server (ALS) is either not running or not running properly. I'm not sure why you thought deleting ......
Read more >
Customizing the Outline view - IBM
IBM Z® Open Editor maps each symbol to a language element of COBOL, PL/I, HLASM, and REXX. However, you might not want every...
Read more >
Flutter Outline - VS Code extensions v3.3 - Google Groups
VS Code extensions v3.3 - Flutter Outline preview, improved device selector, ... to Flutter which may result in processes not being cleaned up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found