-
Notifications
You must be signed in to change notification settings - Fork 23
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
Golang structure support #24
Comments
phodal
added a commit
that referenced
this issue
May 3, 2024
Added a new Go build tool provider and a GoMod parser to the toolchain context. The Go build tool provider checks if the workspace is applicable for Go projects and retrieves the Go tooling version. The GoMod parser parses the content of go.mod files to extract module and dependency information. Also updated the PackageManger enum to include GoMod and added tests for the GoMod parser.
phodal
added a commit
that referenced
this issue
May 3, 2024
…d BaseBuildToolProvider #24 Refactored GradleBuildToolProvider and GoBuildToolProvider to extend a new BaseBuildToolProvider class. This base class implements common methods such as `isApplicable` and `getTargetContent`, reducing code duplication. Also, updated the GoBuildToolProvider to implement the `getDependencies` method. Adjusted related tests and imports accordingly.
phodal
added a commit
that referenced
this issue
May 4, 2024
Implemented the `findOrCreateTestFile` method in `GoTestGenProvider` to support automatic test file creation for Go language. The method checks if a test file exists for a given source file, if not, it creates one. It also sets up the `AutoTestTemplateContext` for the test file.
phodal
added a commit
that referenced
this issue
May 6, 2024
Added Go language support in StructurerProvider by creating a new GoStructurerProvider class. This class includes a method to retrieve import statements related to the input and output types of a given method. Also, updated the ProviderContainer configuration to include the GoStructurerProvider. Modified the JavaStructurerProvider to use a language ID property instead of a hardcoded string.
phodal
added a commit
that referenced
this issue
May 6, 2024
Updated GoLangConfig.ts to improve method return type parsing. Enhanced GoStructurerProvider.ts to include Query and SyntaxNode from web-tree-sitter, and added initialization and file parsing methods. This update provides better support for Go language parsing and structuring.
phodal
added a commit
that referenced
this issue
May 6, 2024
…24 This commit adds support for interpreted string literals in the scope graph. It modifies the `ScopeGraph.ts` and `TextRange.ts` files to handle these literals correctly. It also updates the `go.scm` schema to include interpreted string literals in import specifications.
phodal
added a commit
that referenced
this issue
May 6, 2024
Added a new function, printScopeGraph, in ScopeTestUtil.ts for debugging purposes. Also, introduced a new test file, RelevantClassGo.test.ts, to test the 'RelevantClass' functionality for Golang.
phodal
added a commit
that referenced
this issue
May 6, 2024
…ld classes #24 Moved the `init` method and its logic from `JavaStructurerProvider` and `GoStructurerProvider` to the parent class `BaseStructurerProvider`. This change reduces code duplication and makes the code more maintainable. The `init` method initializes the parser and language for the given language service.
phodal
added a commit
that referenced
this issue
May 6, 2024
Moved the relatedClassesContext method from AutoTestActionExecutor to RelevantCodeProviderManager. This method fetches related classes and presents them using the CommentedUmlPresenter. This change improves code organization and reusability.
phodal
added a commit
that referenced
this issue
May 7, 2024
…hat support #24 The commit includes changes to the HydeKeywordsStrategy and HydeCodeStrategy classes, converting synchronous methods to asynchronous. It also adds chat support by integrating the LlmProvider and CustomActionPrompt classes. The HydeStrategy interface has been updated to reflect these changes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: