tools
tools copied to clipboard
π Incorrect format range output
Environment information
CLI:
Version: 0.0.0
Color support: true
Platform:
CPU Architecture: aarch64
OS: macos
Environment:
ROME_LOG_DIR: unset
NO_COLOR: unset
TERM: "xterm-256color"
JS_RUNTIME_VERSION: unset
JS_RUNTIME_NAME: unset
NODE_PACKAGE_MANAGER: unset
Rome Configuration:
Status: Loaded successfully
Formatter disabled: false
Linter disabled: false
Workspace:
Open Documents: 0
Discovering running Rome servers...
Incompatible Rome Server: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βΉ Rage discovered this running server using an incompatible version of Rome.
Server:
Version: <=10.0.0
Running Rome Server: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βΉ The client isn't connected to any server but rage discovered this running Rome server.
Server:
Version: 0.0.0
Name: rome_lsp
CPU Architecture: aarch64
OS: macos
Workspace:
Open Documents: 0
Other Active Server Workspaces:
Workspace:
Open Documents: 5
Client Name: Visual Studio Code
Client Version: 1.75.1
What happened?
Input code:
a?.b
const a = () => {sdasdsa;
kek;
dsadsa;
123;
("yΜes");
};
console.log("π".length);
("Jan 1,<<<ROME_RANGE_START>>> 201<<<ROME_RANGE_END>>>8βββJan 1, 2019");123
output:
("Jan 1,2018βββJan 1, 2019");123
Expected result
It shouldn't remove the head of the string:
a?.b
const a = () => {sdasdsa;
kek;
dsadsa;
123;
("yΜes");
};
console.log("π".length);
("Jan 1, 2018βββJan 1, 2019");123
Code of Conduct
- [X] I agree to follow Rome's Code of Conduct