appsmithorg / appsmithorg/appsmith
[Feature]: Show Evaluated values for global object in JS Editor
- 主要言語
- TypeScript
- スター
- 40.9k
- フォーク
- 4.8k
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 45
説明
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Summary
The objective of this feature is to enable the users to view the evaluated values of global variables referenced on JS editor. Currently the JSeditor watch window only lists the local functions and variables that have been created in the file. There is no way to view the evaluated value of the global variables that are being referenced in the file.
**What’s in scope?**
- Display the evaluated value of the global variables referenced in the JS Object.
- Being able to show the evaluated value of the variable while the user is typing code. Using autocomplete to show evaluated value of the selected variable.
- User will be able to view the evaluated value of a variable when they hover over the variable name.
- Displaying evaluated value using a floating window will be the default behavior. Users can disable this using a switch on the window. Once disabled the users can view the evaluated value using hot keys and enable this behavior again.
- Users can also pin down the variables that they like, which will show up in the watch window under the variables section.
### Why should this be worked on?
Currently the watch window for the JS editor only shows values of local variables of the file as well the list of functions inside file there is no way to look at the evaluated values of the global variables that we being referenced. To create a better code writing experience, its necessary to be aware of the values of all the variables that are being referenced.
コントリビューションガイド
評価
この issue はまだ評価されていません。