/CoderAssistant

An idea plugin to help developers searching external information

Primary LanguageJavaMIT LicenseMIT

CoderAssistant

An IntelliJ plugin to query StackOverflow automatically. (Course Project for Advanced Software Engineering)

Highlight Features

Search StackOverflow Without Leaving the IDE

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.

Automatically Generate Queries from your Code

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.

Automatically Generate Queries from the error message

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.


How to Install

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.

Procedures to Build the Project

Firstly, Download Idea 2017-2 for windows, and for mac. Here is the official website. In Idea:

  1. View - Tool Windows - Gradle - Refresh Button
  2. After generating output directory, expand Tasks Directory in Gradle. And then expand intellij directory.
  3. Click 'runIdea' or 'runIde'

License

MIT

Acknowledgement

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.