An IntelliJ plugin to query StackOverflow automatically. (Course Project for Advanced Software Engineering)
CoderAssistant integrates seamlessly with Intellij to allow you to find the solutions to the development problems you face without ever leaving the your development environment.
Take your automation one step further by having CoderAssistant generate queries for you. Either generate a query from an editor tab or select a block of code, then right-click and select Auto Query! This function is implemented though training a model using CodeBERT.
CoderAssistant frees you from 'copy-and-paste' by generating query directly from the error message. And what makes a difference is that this is totally automatic.
You can install this plugin through donwloading the release package, which is a zipfile.
And then import this plugin zip package into the Idea-2017-2, which could be downloaded from here: windows, mac and the official-website.
To make use of the code context search function, you can download the trained model from here.
Firstly, Download Idea 2017-2 for windows, and for mac. Here is the official website. In Idea:
- View - Tool Windows - Gradle - Refresh Button
- After generating output directory, expand Tasks Directory in Gradle. And then expand intellij directory.
- Click 'runIdea' or 'runIde'
Our work is based on StackInTheFlow: behavior-driven recommendation system for stack overflow posts and CodeBERT: A Pre-Trained Model for Programming and Natural Languages
Feng Z, Guo D, Tang D, et al. Codebert: A pre-trained model for programming and natural languages[J]. arXiv preprint arXiv:2002.08155, 2020.
Greco C, Haden T, Damevski K. StackInTheFlow: behavior-driven recommendation system for stack overflow posts[C]//Proceedings of the 40th International Conference on Software Engineering: Companion Proceeedings. 2018: 5-8.