[ https://issues.apache.org/jira/browse/FELIX-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766195#action_12766195 ]
Guillaume Nodet commented on FELIX-1757: ---------------------------------------- We need to enhance the CommandsCompleter for that, but I think it also requires a change of the Completer api, because the completers are global and have no way to access the scope variable nor the session. I think the session should be passed as an additional argument in the complete() method. > Completer for session scopes > ---------------------------- > > Key: FELIX-1757 > URL: https://issues.apache.org/jira/browse/FELIX-1757 > Project: Felix > Issue Type: Improvement > Components: Karaf > Reporter: Alin Dreghiciu > Priority: Minor > Attachments: FELIX-1757.patch > > > GoGo has support for scopes (session var "SCOPE") which allows one to not add > the prefix like "osgi:". > Karaf shell completers does not support this scope so when entering "li" or > "sh" and pressing tab the completer will not find the "osgi:list" or > "osgi:shutdown". > There will be a good addition to hav a completer that knows about scopes and > can handle the situation described above. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.