Skip to content

Tree view does not show file commands #58

Open
@DeeEmm

Description

@DeeEmm

Describe the bug
Tree view does not display file commands even after manually refreshing.

Runtime status also shows following error:

Cannot read properties of undefined (reading 'slice')

To Reproduce
Open file for viewing in VSCode.

Expected behaviour
Tree view shows file commands

Screenshots

Screenshot 2023-01-18 at 5 12 05 pm

Screenshot 2023-01-18 at 5 13 10 pm

Environment / Version:

  • OS Version: MacOS Ventura 13.1
  • VSCode Version: Version: 1.74.3 (Universal)
  • Extension Version: G-Code Syntax v0.7.7

Additional context
Syntax highlighting is okay, Manually refreshing the stats windows shows estimated runtime.

Some commands are not correctly highlighted in editor which may or may not be related

For example globally setting feed rate...

F100

Or spindle speeds...

S500 M3

Also some Mcodes...

M101
M102
M103

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstale-issueviewsViews issues or changes

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions