Open atian25 opened 3 months ago
The recent update enhances the projj
project by adding support for the 'Warp' environment in the AddCommand
and FindCommand
classes, allowing for seamless directory changes. Additionally, a new utility function generateWarpScript
was introduced to facilitate this functionality. The version has been updated to 2.2.0, reflecting these improvements.
Files | Change Summaries |
---|---|
lib/command/add.js |
Added support for changing directories in 'Warp' environment and updated error message. |
lib/command/find.js |
Updated logic to support changing directories in 'Warp' environment. |
lib/utils.js |
Introduced generateWarpScript function for Warp-specific directory change script generation. |
package.json |
Updated project version from 2.1.0 to 2.2.0. |
In code we trust, through Warp we steer,
New paths unfold, no need to fear.
With scripts anew, our journey's clear,
Version 2.2.0, let's give a cheer!~ 🐰 CodeRabbit 🎉
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Related to #64
Implements support for automatically switching to the corresponding directory in warp/iterm2 environments after adding a project, and updates the version number.
generateWarpScript
inlib/utils.js
to generate a script for changing directories in warp/iterm2 environments.generateAppleScript
inlib/utils.js
to include support for warp/iterm2 environments by adding awarpCommand
script and updating the return statement to execute the appropriate script based on the current terminal application.lib/command/add.js
andlib/command/find.js
to support changing directories in warp/iterm2 environments by utilizing the updatedgenerateAppleScript
function. Additionally, introduces a check for theTERM_PROGRAM
environment variable to determine if the terminal is Warp and uses thegenerateWarpScript
function accordingly.package.json
to 2.2.0 to reflect the new feature addition.For more details, open the Copilot Workspace session.
Summary by CodeRabbit
New Features
Improvements
Version Update