ProjectParse : Parse common project types to augment the project plugin
| script karma
Downloaded by 471
Comments, bugs, improvements
script versions (upload new version)
|*** Summary ***
ProjectParse is a plugin that analyzes several common project formats and creates entries for them for use with Vim's `project` plugin. ProjectParse will also watch the specified project and automatically update it's entry when the project changes. ProjectParse currently supports the following project types:
* Microsoft Visual Studio Projects and Solutions
* Code::Blocks Projects and Workspaces
* Automake Makefiles
* MPLAB Projects
* CodeLite Projects
* (More to come!)
By simply running the :ProjectParse command on a relevant file, a file listing will be added to a user's configuration for the `project` plugin and will be kept up to date.
*** Motivation ***
One of the most popular plugins available for Vim, the `project` plugin vimscript #69 provides a mechanism for creating lists of files that makeup a project. Beyond just giving you a file listing, it provides some great functionality such as automatically opening your project files, grepping through each file in the list, and running arbitrary commands on these files.
The project plugin creates a project by scanning through the user's filesystem for files that match a specified pattern. This approach, while effective for some projects, isn't optimal for others. Often, the filesystem may contain files that match the specified pattern but are not a part of the project (such as temporary files or older revisions of relevant files). Also, when the user's filesystem is large, generating the list of files can be quite time-consuming (I've had projects with 1,500 relevant files in a directory of 30,000 files, where >28,000 files are analyzed unnecessarily). Another problem is that by relying on a pre-configured file pattern, certain important files can be missed when they are not part of the configured pattern, especially as projects evolve.
Often, software developers already have a list of their relevant files in the form of a project for a well-known software tool like Microsoft Visual Studio. This is where ProjectParse enters. ProjectParse is capable of analyzing project files for several popular software tools to automatically (and quickly) create a project for the `project` plugin.
|Copy ProjectParse.vim to your plugin directory; copy ProjectParse.txt to your doc directory. Run helptags on your doc directory.|
Click on the package to download.
ip used for rating: 220.127.116.11
||Fixed a typo that prevented Visual Studio parsing from working
||Added automatic update of projects upon a change to the project file.
- Projects will need to be reparsed to support this functionality
Added support for CodeLite projects
Added support for MPLAB projects
Improved other parsers