-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance Variable Management in Hurl.nvim #220
base: main
Are you sure you want to change the base?
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
❌ Error while fixing CITraceback
Sweep was unable to fetch CI/CD logs for jellydn/hurl.nvim due to GitHub errors. Sweep has encountered a runtime error unrelated to your request. Please let us know via this link or at [email protected] directly. 📖 For more information on how to use Sweep, please read our documentation. Tracking ID: 0927350ecd-ci-0
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Free review on us!CodeRabbit is offering free reviews until Wed Jan 15 2025 to showcase some of the refinements we've made. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
for more information, see https://pre-commit.ci
Purpose
Improve variable management capabilities in Hurl.nvim by introducing persistent variable storage, env file parsing, and a more robust variable management interface.
This pull request was created to solve the following GitHub issue:
the
:HurlManageVariable
command doesn't persist values (and doesn't prepopulate fromenv_file
)Details
No response
Enhance
:HurlManageVariable
with persistence and env file integrationDescription:
The
:HurlManageVariable
command currently lacks persistence between sessions and doesn't load initial values from the configured env files. This needs to be fixed to improve variable management functionality.Tasks:
In
lua/hurl/main.lua
:HurlManageVariable
command to load variables from env files on initializationIn
lua/hurl/lib/hurl_runner.lua
:In
test/plugin_spec.lua
:Test:
test/plugin_spec.lua
:Description
This pull request introduces a comprehensive variable management system for Hurl.nvim:
HurlManageVariable
command with new features:The changes provide users with more flexibility in managing variables for HTTP requests, with improved persistence and visibility.
Summary
variable_store.lua
library for managing variablesmain.lua
to support advanced variable managementPersistent variable storage
Environment file parsing
Interactive variable management
Multi-source variable display
Fixes
Fixes #219. Continue the conversation here: https://app.sweep.dev/c/39d110af-b360-45a7-b1e1-5f2d659ef1be.
To have Sweep make further changes, please add a comment to this PR starting with "Sweep:".
📖 For more information on how to use Sweep, please read our documentation.