Commit Graph
62 Commits
Author SHA1 Message Date
Beth BrennanandGitHub 325a4bb44e Merge pull request #135 from github/elbrenn/expression-complete
Complete multi-segment expressions
2023-02-07 20:50:31 -05:00
Josh Gross fc87fcb11f Add a FileProvider to auto-completion 2023-02-07 18:35:50 -05:00
Beth BrennanandGitHub 928e7e3b11 Merge branch 'main' into elbrenn/expression-complete 2023-02-07 17:23:37 -05:00
Beth Brennan b432867548 Complete multi-segment expressions 2023-02-07 17:04:47 -05:00
Josh Gross 13aaa381c8 Parse reusable workflows up to a depth of 1 2023-02-06 15:10:34 -05:00
Josh Gross f4dde16b61 Add a FileProvider to parseWorkflow 2023-02-06 11:15:15 -05:00
Christopher Schleiden 1faf6572b7 Rename helper 2023-02-02 13:14:02 -08:00
Christopher Schleiden f5463c18b5 React to extracted functions, add test 2023-02-02 08:57:16 -08:00
Laura YuandGitHub 115c1bb41c Support completion for partial expressions (#103)
Adding basic expression auto complete
2023-01-25 13:38:28 -08:00
Jacob Wallraff f3a570d10d Revert "Use parent token (revertable)"
This reverts commit d5831b2e89.
2023-01-24 13:16:19 -08:00
Jacob Wallraff 0cf34d914d Merge branch 'main' into thyeggman/token-completion-range 2023-01-24 13:15:52 -08:00
Christopher Schleiden c6f490c62d Improve auto-completion for if: properties 2023-01-19 17:20:37 -08:00
Christopher Schleiden e6a2e3eb43 Fix a bunch of auto-complete issues 2023-01-19 10:17:43 -08:00
Jacob Wallraff d5831b2e89 Use parent token (revertable) 2023-01-17 10:27:51 -08:00
Jacob Wallraff d7761dc538 Remove cast and format 2023-01-13 11:58:42 -08:00
Jacob Wallraff 51908ec789 Set completion range for invalid token 2023-01-12 15:17:46 -08:00
Christopher Schleiden 873db60522 Use markdown details for (expression) auto-completions 2023-01-06 15:27:25 -08:00
Christopher Schleiden d16aa652f9 Include : and new lines where appropriate when auto-completing 2023-01-05 17:26:08 -08:00
Josh Gross 9130ef0c65 Avoid inserting unnecessary parentheses after functions 2022-12-15 10:48:28 -05:00
Josh Gross b493fa3bdb Merge branch 'main' into joshmgross/improve-expression-completion 2022-12-15 10:34:13 -05:00
Josh GrossandGitHub f6ce03e021 Merge pull request #57 from github/joshmgross/use-def-allowed-context
Use the allowed context from the definition info
2022-12-15 10:31:34 -05:00
Christopher Schleiden 45764915bc Account for cursor and newline during expression auto-completeion 2022-12-15 15:18:59 +01:00
Josh Gross eafbcde86a Improve auto-completion for expression functions 2022-12-14 16:10:31 -05:00
Josh Gross 447bbfc032 Show deprecation status when suggesting action inputs 2022-12-14 13:07:26 -05:00
Josh Gross 2d7a05c049 Use the allowed context from the definition info 2022-12-14 11:18:38 -05:00
Laura YuandGitHub 63ebc92dec Use custom value provider from parent when token key doesn't have one (#49) 2022-12-13 14:41:29 -08:00
Josh GrossandGitHub cca0f94d33 Merge branch 'main' into joshmgross/for-of 2022-12-09 18:00:11 -05:00
Christopher Schleiden efe71dd684 Auto completion for multi-line expressions 2022-12-09 08:38:50 -08:00
Josh Gross cb0bee35fe Replace allowPartialContext with a mode enum 2022-12-09 10:40:19 -05:00
Josh Gross 44239714e6 Replace for loops with for...of 2022-12-08 15:22:34 -05:00
Josh Gross eeb39de9d5 Support partial matrix context completion 2022-12-08 14:34:11 -05:00
Josh Gross f2c04b7b89 Ensure context is inherited in validation 2022-12-08 13:55:46 -05:00
Beth Brennan 424bc471ce Use mapRange 2022-12-07 10:51:44 -05:00
Beth Brennan 3eb3855cb1 Remove comment 2022-12-07 10:44:20 -05:00
Beth Brennan bdcb592f90 Add range to CompletionItems 2022-12-07 09:53:26 -05:00
Beth Brennan e5a0bae3d0 Add descriptions to completion item detail 2022-12-02 17:32:42 -05:00
Christopher SchleidenandGitHub c3ed8d3408 Remove obsolete comments 2022-12-02 13:58:17 -08:00
Christopher SchleidenandGitHub 67195e9736 Merge branch 'main' into cschleiden/validate-if-expressions 2022-12-02 13:53:22 -08:00
Beth Brennan 09e354a30e Read definition from key for hover and complete 2022-12-02 14:29:59 -05:00
Christopher Schleiden dbce95d3ed Validate if expressions 2022-12-02 10:48:49 -08:00
Josh Gross 643917ae9d Add a needs context provider for auto-completion 2022-11-30 11:21:32 -05:00
Josh Gross 72c7fbd032 Add a context provider for secrets 2022-11-29 16:56:20 -05:00
Christopher Schleiden a9cdcdba80 Support allowed/suggested value providers 2022-11-28 16:15:57 -08:00
Christopher Schleiden a495432d40 Merge validation code into a single traversal 2022-11-28 16:04:53 -08:00
Christopher Schleiden a32295a09a Use value providers for validation 2022-11-28 15:53:02 -08:00
Christopher Schleiden e29020bfe0 Try to convert workflow even with errors 2022-11-23 17:16:34 -08:00
Christopher Schleiden 66e0f47151 Use tokenPath for value providers 2022-11-23 15:35:34 -08:00
Christopher Schleiden fd942fc6e2 Export default value providers 2022-11-23 14:36:16 -08:00
Christopher Schleiden 1a77979543 Remove extraneous await 2022-11-23 14:35:31 -08:00
Christopher Schleiden 94fffed2a7 Use const for default value providers 2022-11-23 14:34:44 -08:00