This plugin allows you to quickly organize the order of official and custom dependencies.
Usage:
Mac: Use shortcut Ctrl+Shift+Q to quickly sort the dependency order.
Windows: Use shortcut Ctrl+Alt+Q to quickly sort the dependency order.
Using Command Line:
Mac: Open the command line with Command+Shift+P, then type dqs.sort to quickly sort.
Windows: Open the command line with Ctrl+Shift+P, then type dqs.sort to quickly sort.
Settings:
Auto-sort on file save: You can configure whether dependencies are automatically re-sorted when saving files through the plugin settings.
Auto-format on sorting: The plugin supports automatically formatting the entire document when sorting dependencies.
When it comes to organizing and managing dependency orders in your projects, employing effective methods can greatly enhance development efficiency and code cleanliness.
Here are some approaches:
Define Clear Dependency Order: Establish clear rules for how dependencies should be loaded to prevent conflicts and errors.
Utilize Automation Tools: Use tools like DQS plugin to streamline dependency order management.
Regular Review and Updates: Periodically review and optimize dependency orders to maintain project cleanliness and maintainability.
If you find these methods helpful, consider giving DQS plugin a star to support continuous improvement and maintenance by the developers.