vscode-gcode-syntax icon indicating copy to clipboard operation
vscode-gcode-syntax copied to clipboard

Tree view does not show file commands

Open DeeEmm opened this issue 3 years ago • 5 comments

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

DeeEmm avatar Jan 18 '23 06:01 DeeEmm

Hello and welcome! Thanks for creating your first issue! Someone from our community will get back to you soon!

github-actions[bot] avatar Jan 18 '23 06:01 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity.

github-actions[bot] avatar Mar 19 '23 07:03 github-actions[bot]

Interesting. Let me dive into this to see where there might be an issue. I have been slow getting back to this project because of some life issues.

mikecentola avatar Apr 25 '23 22:04 mikecentola

All good I know how that gets.

If you need me to do any testing here just let me know.

I'll add an example Gcode file when I get home this evening just in case it's syntax related.

DeeEmm avatar Apr 25 '23 23:04 DeeEmm

This issue has been automatically marked as stale because it has not had recent activity.

github-actions[bot] avatar Jun 25 '23 07:06 github-actions[bot]