-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.0] Fix Workspace Symbol Provider #269
Comments
Found it (and a few other bugs too) Some items in the object cache have nil as their file source (e.g. Bolt static data) which then blows up the build_file_uri helper |
Making some nice work on this. Bunch more bug fixes I found. |
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Output DataTypes Ignore Facts Fix comments
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Previously the workspace detection would use the RootURI even if it was nil. This commit changes the detection to see if the RootURI key exists AND the value is not nil.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Previously if nil was passed into the build_file_uri method it would raise an obtuse error. This commit instead returns nil of the path is nil, otherwise it attempts to build a URI for the path.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
- add test - refactor mock editor client
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Previously the Workspace Symbol Provider was not outputting DataTypes and was unnecessarily output debuging information for Facts. This commit adds support for DataTypes and ignores Facts. This commit also updates typos in the code comments.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Previously the workspace detection would use the RootURI even if it was nil. This commit changes the detection to see if the RootURI key exists AND the value is not nil.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Previously if nil was passed into the build_file_uri method it would raise an obtuse error. This commit instead returns nil of the path is nil, otherwise it attempts to build a URI for the path.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Previously the Workspace Symbols request was not tested as part of the acceptance suite. This commit adds a Workspace symbols request test and refactors the mock editor client to make it easier to be consumed during development.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Previously if nil was passed into the build_file_uri method it would raise an obtuse error. This commit instead returns nil of the path is nil, otherwise it attempts to build a URI for the path.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Previously the Workspace Symbol Provider was not outputting DataTypes and was unnecessarily output debuging information for Facts. This commit adds support for DataTypes and ignores Facts. This commit also updates typos in the code comments.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Previously the workspace detection would use the RootURI even if it was nil. This commit changes the detection to see if the RootURI key exists AND the value is not nil.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 15, 2020
Previously the Workspace Symbols request was not tested as part of the acceptance suite. This commit adds a Workspace symbols request test and refactors the mock editor client to make it easier to be consumed during development.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 17, 2020
Previously if nil was passed into the build_file_uri method it would raise an obtuse error. This commit instead returns nil of the path is nil, otherwise it attempts to build a URI for the path.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 17, 2020
Previously the Workspace Symbol Provider was not outputting DataTypes and was unnecessarily output debuging information for Facts. This commit adds support for DataTypes and ignores Facts. This commit also updates typos in the code comments.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 17, 2020
Previously the workspace detection would use the RootURI even if it was nil. This commit changes the detection to see if the RootURI key exists AND the value is not nil.
glennsarti
added a commit
to glennsarti/puppet-editor-services
that referenced
this issue
Jul 17, 2020
Previously the Workspace Symbols request was not tested as part of the acceptance suite. This commit adds a Workspace symbols request test and refactors the mock editor client to make it easier to be consumed during development.
jpogran
added a commit
that referenced
this issue
Jul 17, 2020
(GH-269) Fix Workspace Symbol Provider
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like the document symbol provider may need some work.
The text was updated successfully, but these errors were encountered: