🚀Packmind's IDE plugins use cases

As we do our best to keep plugins aligned and consistent in terms of features, this article lists the common use cases of Packmind's IDE plugins. You'll find dedicated articles for:

All plugins need to be configured with your Packmind API Key available in your personal account. The key encompasses the URL of Packmind as well as your identity. If you use the self-hosted version, make sure your public URL is correctly configured.

Identify best practices

From any file, select some code, right-click and access the Packmind plugin menu, and indicate whether you're identifying a new practice or an existing one. Indicate also if it's related to:

  • A positive example: a source code compliant with the best practice

  • A negative example: a source code not compliant with the best practice

Fill the required fields, and this will be sent in the provided space in Packmind. This contribution will be waiting for discussion until the next Craft Workshop.

Highlight your refactorings

When you identify a negative example, you can then modify this code to improve it or show how to follow a best practice.

Right-click again on the editor and select Packmind -> Send as a correction to the previous negative tag to indicate you suggest modifications related to the previously identified practice. The negative tag and its associated fix will be presented in the next Craft Workshop. This way, each developer can present the improvements made to the code.

Get automatic suggestions

As you code, Packmind identifies automatically pieces of code where best practices are not applied:

Only negative suggestions (best practices not applied) are listed. If you open the Packmind pane in your IDE, all the positive and negative suggestions will appear.

Suggestions are computed based on the content of your source code file displayed in the editor. It does not scan the entire file nor the entire project.

pageConfigure how practices are detected

Access your best practices

You can view all your team's practices as well as those available in the catalogs you subscribe to by opening the Packmind dedicated pane in your IDE. For example, It is also possible to access your current Craft Workshop sessions as well as the current battles on current practices from this tab. here is a simple illustration with Visual Studio:

Send files to a workshop

You'd like to review a file during a Craft Workshop, but don't know yet what kind of best practices to identify?

From any file, you can access the Packmind plugin menu by right-clicking in the editor. You then have the option to send the complete file or your selection only to Packmind.

This file will then appear in the current workshop, and you can start identify practices from the workshop.

Last updated