diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/KlipperScreen.conf b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/KlipperScreen.conf index 9f150dc5c..0f75d76d7 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/KlipperScreen.conf +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/KlipperScreen.conf @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + [main] # Invert axis in move panel. Default is False. Change to true to invert invert_x: False diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/basic_macro.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/basic_macro.cfg index 484d2b15e..13b8fab80 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/basic_macro.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/basic_macro.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Macro ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/bed_mesh.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/bed_mesh.cfg index a30d7e44e..45f56c363 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/bed_mesh.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/bed_mesh.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Bed Mesh Definition ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/caselight.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/caselight.cfg index 2faeda0b0..1f5b5fa08 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/caselight.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/caselight.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Caselight pin Definition ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/crowsnest.conf b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/crowsnest.conf index f233bf84d..6a0d381e8 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/crowsnest.conf +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/crowsnest.conf @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + #### crowsnest.conf #### This is mainsail / MainsailOS default config. #### See: diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/debug_macro.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/debug_macro.cfg index f9df81228..7e69e3d00 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/debug_macro.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/debug_macro.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + # Use: # - DUMP_PARAMETER print all parameter expect configfile # - DUMP_PARAMETER P='gcode_macro _TEST' print the defined parameter group diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/display_menu.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/display_menu.cfg index 292f177ef..965404a38 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/display_menu.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/display_menu.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + # Main # + Power Off # + Flexplate diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/fan.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/fan.cfg index 80c837a9a..946213ff0 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/fan.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/fan.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Fan Control ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/filament.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/filament.cfg index 2c2dd27f3..3743cbc43 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/filament.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/filament.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + [firmware_retraction] retract_length: 0.75 ; length of filament (in mm) at G10/G11 unretract_extra_length: 0 ; length of additional filament (in mm) at G11 diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/flexplate.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/flexplate.cfg index ce0b32b9c..8f8c79d1b 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/flexplate.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/flexplate.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Preperation ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/force_move.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/force_move.cfg index 8fded41d1..3721095ff 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/force_move.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/force_move.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ## This is an emergency fix if the gantry is at the max Z position what makes homing imposible ## 1) set enable_force_move: True ## 2) do an klipper restart diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/heater.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/heater.cfg index 4b02cd60f..3d7041588 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/heater.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/heater.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Extruder ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/heater_verify.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/heater_verify.cfg index bffa83de4..fa16482a2 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/heater_verify.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/heater_verify.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Heater Verification ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/homing.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/homing.cfg index 27922be3b..e4cf9a70f 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/homing.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/homing.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Homing definition ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/input_shaper.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/input_shaper.cfg index a7d1cd15e..446b39192 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/input_shaper.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/input_shaper.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # G Sensor definition ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/lcd.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/lcd.cfg index 7374570c2..1d819864a 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/lcd.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/lcd.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + # Displays mini12864 LCD (Fystec) [display] lcd_type: uc1701 diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/macro.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/macro.cfg index 93fdfea96..e2fa0a094 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/macro.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/macro.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ## User Paramaters ## BED_TEMP : Target temperature for the Bed. Is also used to decide ## if heatsoak is needed diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/magprobe.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/magprobe.cfg index 4de56e67b..5e2f01010 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/magprobe.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/magprobe.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # User Macros ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/moonraker.conf b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/moonraker.conf index 6d59bdd25..9f62727eb 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/moonraker.conf +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/moonraker.conf @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + [server] host: 0.0.0.0 port: 7125 diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/park_macro.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/park_macro.cfg index 494e4d39f..b0bb7163e 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/park_macro.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/park_macro.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + # You can specify the park_pos variable manually if you do not want # to use a _USER_VARIABLE macro, The set statement would look like: # {% set park_pos = {'x': val, 'y': val, 'z': val} %} diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/power.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/power.cfg index 1fc8c35dc..32f9d32c4 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/power.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/power.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Idle Timeout ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/pressure_advance.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/pressure_advance.cfg index d01420ad6..0271ebf41 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/pressure_advance.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/pressure_advance.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Preperation ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/printer.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/printer.cfg index 086b5586e..3e61b79d7 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/printer.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/printer.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##===================== SKR 1.4 Pin Definitions =================== # +--------------+------+------+------+------+------+ +----+------+------+------+ # | | X | Y | Z | E0 | E1 | | | 0 | 1 | BED | diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/printtime.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/printtime.cfg index 19599b2b2..ca4ddadc0 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/printtime.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/printtime.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Macro ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/probe_qgl.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/probe_qgl.cfg index ac0435dc8..ace37ffd4 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/probe_qgl.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/probe_qgl.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Probe ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/runout.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/runout.cfg index b7c50dc1a..392135ffe 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/runout.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/runout.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + #[filament_switch_sensor runout] ## When set to True, a PAUSE will execute immediately after a runout ## is detected. Note that if pause_on_runout is False and the diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/stepper.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/stepper.cfg index e8e27ef0d..9c49fa1fc 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/stepper.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/stepper.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + # MCU - X -> B Stepper - Left [stepper_x] step_pin: P2.2 diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/tmc.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/tmc.cfg index 958c1bf87..3ce2cb992 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/tmc.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/tmc.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # TMC Definitions of all steppers ##################################################################### diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/webclient.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/webclient.cfg index 44216d3ed..f868ea17d 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/webclient.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/webclient.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + [pause_resume] [display_status] diff --git a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/z_calibration.cfg b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/z_calibration.cfg index a58aeceed..b351aa3dd 100644 --- a/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/z_calibration.cfg +++ b/src/plugins/Codemirror/KlipperCfgLang/test/testConfigs/z_calibration.cfg @@ -1,3 +1,5 @@ +# from https://github.com/zellneralex/klipper_config + ##################################################################### # Z Calibration ##################################################################### diff --git a/src/plugins/Codemirror/mochaFileTests.ts b/src/plugins/Codemirror/mochaFileTests.ts index 63ca93d52..1833679d7 100644 --- a/src/plugins/Codemirror/mochaFileTests.ts +++ b/src/plugins/Codemirror/mochaFileTests.ts @@ -1,3 +1,5 @@ +// based on https://github.com/lezer-parser/generator/blob/main/src/test.ts + import { NodeType, Parser } from '@lezer/common' import { testTree } from '@lezer/generator/dist/test'