mirror of
https://github.com/ProxymanApp/proxyman-windows-linux.git
synced 2026-04-27 00:45:55 +03:00
Labels
No labels
Linux
bug
enhancement
enhancement
pull-request
question
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxyman-windows-linux#336
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NghiaTranUIT on GitHub (Nov 21, 2023).
Original GitHub issue: https://github.com/ProxymanApp/proxyman-windows-linux/issues/335
Originally assigned to: @kics223w1 on GitHub.
Description
It's time to implement the Scripting feature. We're going to break it down into small feasible tickets.
Acceptance Criteria
1. Script List Requirement
Menu Action Requirement
ScriptFileScriptFile@NghiaTranUIT commented on GitHub (Nov 21, 2023):
2. Scripting Models
ScriptEntryandScriptServiceclasses to Typescriptuser-data/ScriptService-RuleTree..//scripts/1C2FD611.js->1C2FD611is a random UUID string.@NghiaTranUIT commented on GitHub (Nov 21, 2023):
3. Script Editor
Behavior
4. Monaco Editor
Introduce a new mode for Monaco Editor for the Scripting
Define a list of new suggestions:
Basic suggestion: If the current curse is empty, it should suggest the basic suggestion depends on the current variables. For example: It suggests: request, response, context, url, console, console.log, delete, ... -> Everything from the Javascript mode
if it's from
request, type.will suggest: method, scheme, host, port, path, queries, headers, bodyif it's from
response, type.will suggest: statusCode, statusPhrase, httpVersion, headers, bodyif it's from
context, type.will suggest: id, remoteDeviceIP, clientIPAddress, clientPort, serverIpAddress, serverPort5. Menu Context
Control + Bto beautify the Scritpt Content (Javascript Mode)6. Console Log panel