{"action":"created","issue":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/4762","repository_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus","labels_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/4762/labels{/name}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/4762/comments","events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/4762/events","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4762","id":349854451,"node_id":"MDU6SXNzdWUzNDk4NTQ0NTE=","number":4762,"title":"AutoCompletion - Add option to show description for parameter-less functions on Tab key","user":{"login":"joshmclean","id":22169356,"node_id":"MDQ6VXNlcjIyMTY5MzU2","avatar_url":"https://avatars3.githubusercontent.com/u/22169356?v=4","gravatar_id":"","url":"https://api.github.com/users/joshmclean","html_url":"https://github.com/joshmclean","followers_url":"https://api.github.com/users/joshmclean/followers","following_url":"https://api.github.com/users/joshmclean/following{/other_user}","gists_url":"https://api.github.com/users/joshmclean/gists{/gist_id}","starred_url":"https://api.github.com/users/joshmclean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshmclean/subscriptions","organizations_url":"https://api.github.com/users/joshmclean/orgs","repos_url":"https://api.github.com/users/joshmclean/repos","events_url":"https://api.github.com/users/joshmclean/events{/privacy}","received_events_url":"https://api.github.com/users/joshmclean/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-12T23:52:48Z","updated_at":"2018-08-13T00:12:08Z","closed_at":"2018-08-13T00:12:08Z","author_association":"NONE","body":"### Description of the Issue\r\nCurrently there is no means of getting the description for a function that doesn't have parameters. In my language definition, a parameter-less function (we call it 'statement') does not have opening and closing function tags. Example\r\n\r\nsetvalue [var1, 'a value']; //statement with params\r\nstartlog; //statement with no params and we have quite a few of these, and this is what we use\r\nstartlog []; //this would be the workaround but it doesn't look right\r\n\r\n### Proposed Behavior\r\nWhen typing out a statement name, the auto-complete list will appear (if you have Function auto-completion enabled). Pressing **Tab** key will automatically close the auto-completion list and then the next suggested behavior is to show its description (if it has one). To close the description window, the user press any other key (space, down, up, or the terminal character). If the window is closed unintentionally, the user simply press backspace to delete one character and retype it out again. Doing so will result in the the auto-completion list re-appearing with the suggested 'statement', and the user presses *Tab* again to 'accept' it\r\n\r\nHowever, this proposed will conflict with most other language's preference to only show description when a opening character of the function is entered. For example, most other function-based languages will have this pattern: startlog(); \r\n\r\nWe could have an hidden attribute in the Environment Tag in the AutoComplete XML to enable this desired behaviour for a uncommon case.\r\n\r\n![2018-08-13_11-55-58](https://user-images.githubusercontent.com/22169356/44007818-f311948e-9eef-11e8-8f99-ec6341437ffa.gif)"},"comment":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/comments/412381473","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4762#issuecomment-412381473","issue_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/4762","id":412381473,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjM4MTQ3Mw==","user":{"login":"joshmclean","id":22169356,"node_id":"MDQ6VXNlcjIyMTY5MzU2","avatar_url":"https://avatars3.githubusercontent.com/u/22169356?v=4","gravatar_id":"","url":"https://api.github.com/users/joshmclean","html_url":"https://github.com/joshmclean","followers_url":"https://api.github.com/users/joshmclean/followers","following_url":"https://api.github.com/users/joshmclean/following{/other_user}","gists_url":"https://api.github.com/users/joshmclean/gists{/gist_id}","starred_url":"https://api.github.com/users/joshmclean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshmclean/subscriptions","organizations_url":"https://api.github.com/users/joshmclean/orgs","repos_url":"https://api.github.com/users/joshmclean/repos","events_url":"https://api.github.com/users/joshmclean/events{/privacy}","received_events_url":"https://api.github.com/users/joshmclean/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T00:12:08Z","updated_at":"2018-08-13T00:12:08Z","author_association":"NONE","body":"After further thinking, it's probably better that nothing is done here. I'll just go with the workaround"}}
{"actor":{"display_login":"joshmclean"}}