コード例 #1
0
        public void InitTabExpansion()
        {
            if (_getlineEditor == null)
            {
                return;
            }
            var localRunspace = _parentHost == null ? null : _parentHost.OpenRunspace as LocalRunspace;

            _tabExpansionProvider = new TabExpansionProvider(localRunspace);
            _getlineEditor.SetTabExpansionFunction(_tabExpansionProvider.GetAllExpansions);
        }