style: remove unused comment
This commit is contained in:
@@ -62,10 +62,9 @@ export const ChatMessageInput: FC<ChatMessageInputProps> = memo((props) => {
|
||||
if (!monacoRef.current || !currentLanguage)
|
||||
return
|
||||
|
||||
// when user input >.xxx,
|
||||
// match xxx to language,
|
||||
// when user input .xxx,
|
||||
// and show suggestion,
|
||||
// when user click suggestion,
|
||||
// when user click suggestion,
|
||||
// switch to that language.
|
||||
const completionDispose = monacoRef.current.languages.registerCompletionItemProvider(currentLanguage, {
|
||||
triggerCharacters: ['.'],
|
||||
|
||||
@@ -145,10 +145,6 @@ export const Editor: FC<EditorProps> = memo((props) => {
|
||||
enabled: false,
|
||||
},
|
||||
suggestOnTriggerCharacters: true,
|
||||
// acceptSuggestionOnEnter: 'on',
|
||||
// acceptSuggestionOnCommitCharacter: true,
|
||||
// tabCompletion: 'on',
|
||||
// wordBasedSuggestions: true,
|
||||
fixedOverflowWidgets: true,
|
||||
...options,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user