You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Refactor: move to file for previously created new empty file test.ts
Bug 1: in new test.ts we have one empty line between JSDoc and const NAME1:
/** * Description */// <--------------------------- BUG 1: WHY new empty LINE here?exportconstNAME1=3;
Lets back to original.ts and move another constant to test.ts from file we moved first constant (original.ts), after same use case in test.ts file where we moved 2 constants formatting will be weird:
/** * Description */// <--------------------------- BUG 1: WHY new empty LINE here?exportconstNAME1=3;/**//<---------------------------BUG2:WHYJSDocisatendofconstdeclaration?*Descriptionofsecondconstant*/exportconstNAME2=2;
Bug2: JSDoc of second constant jumps at end of first constant.
5. Bug3: Lets look at other file that had imports for these constants, now they have TWO imports from file test.ts where we moved 2 constants (must be 1 import).
import{NAME1}from'../../test';import{NAME2}from'../../test';// <--------------------------- BUG 3: WHY TWO imports from same file?
Other files are corrupted too.
The text was updated successfully, but these errors were encountered:
Does this issue occur when all extensions are disabled?: Yes
Version: 1.97.2 (user setup)
Commit: e54c774
Steps to Reproduce:
original.ts
:Refactor: move to file
for previously created new empty filetest.ts
test.ts
we have one empty line between JSDoc andconst NAME1
:original.ts
and move another constant totest.ts
from file we moved first constant (original.ts
), after same use case intest.ts
file where we moved 2 constants formatting will be weird:Bug2: JSDoc of second constant jumps at end of first constant.
5. Bug3: Lets look at other file that had imports for these constants, now they have TWO imports from file
test.ts
where we moved 2 constants (must be 1 import).Other files are corrupted too.
The text was updated successfully, but these errors were encountered: