-
Just tested and it works fine at my side. Note that if you have an existing '@' character, moving cursor around it will not pop up any auto completion menu. It is only displayed when you type it in the command editor.
If this does not work at your side, please let me know your browser.
-
Tested with:
- Firefox Developer Edition v73
- Chrome Stable v79
both show no response to typing "@", I tried at different spots around my script.
-
Tested with Firefox/Chrome/IE and all works fine. Could it be that you have some browser plugins being installed intercepting '@'?
-
No plugins which could possibly intercept are installed. I tried Chrome and Safari in a full vanilla configuration, both browsers get no working autocompletion.
-
That is odd. If you can test this more (on a different computer, with different language etc.) to help me reproducing the issue, it will help a lot.
-
I already tested that on a second computer.. as there are no javascript warnings, I'm not really sure where to get more error information.
-
What fields of build spec are you experiencing this issue? Some fields do not accept variables, and inputing '@' will not pop up any menu. For instance the name field of job. For fields accepting variable interpolation, the inline help will mention it.
-
Exactly here, in the command editor:
Obviously it should work, but there is no context menu appearing. -
Tried exactly the same command and it works at my side. Are there any errors in onedev log?
-
Okay, no log errors, but: As soon as I type
@"the autocomplete pops up. The quote is what is triggering it. If I type any other character after@, nothing happens. -
Please create a test project at code.onedev.io to see if it exhibits the same behavior.
-
Already tested it here: code.onedev.io/projects/test_philslab/
-
Tried to edit your build spec on three computers with different browsers, and everything works fine (except that sometimes it is a bit slow). So have no idea why it is not working at your side...
-
It will be greatly appreciated if you can help to debug this issue.
- To set up development environment:
https://code.onedev.io/projects/onedev-manual/blob/master/pages/development-environment-setup.md
- JavaScript code to show command variable helper is at:
- The JavaScript code will call into Java backend to get list of completions:
-
I will try to find some spare time and will give feedback afterwards.
-
Previous Value Current Value Open
Closed
-
Close now due to no activity. Feel free to reopen if there is more info.
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
Not Found
|
Apparently, in the latest docker build, the autocomplete feature for variables inside the editor is broken. Typing @ does not trigger any action, no menu pops up. Also, there is no error inside the browser console.