File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
server/aws-lsp-codewhisperer/src/language-server/inline-completion/auto-trigger Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ describe('Auto Trigger', async () => {
158158 assert . strictEqual ( getAutoTriggerType ( createContentChange ( 'line1\nline2' ) ) , undefined )
159159 } )
160160 } )
161- describe . skip ( 'Right Context should trigger validation' , ( ) => {
161+ describe ( 'Right Context should trigger validation' , ( ) => {
162162 it ( 'should not trigger when there is immediate right context in VSCode' , ( ) => {
163163 const params = createBasicParams ( {
164164 fileContext : createBasicFileContext ( 'console.' , 'log()' ) ,
Original file line number Diff line number Diff line change @@ -229,12 +229,7 @@ export const autoTrigger = (
229229
230230 const triggerTypeCoefficient = coefficients . triggerTypeCoefficient [ triggerType ] ?? 0
231231 const osCoefficient = coefficients . osCoefficient [ os ] ?? 0
232- let charCoefficient = coefficients . charCoefficient [ char ] ?? 0
233- // this is a temporary change to lower the auto trigger frequency
234- if ( ide === 'VSCODE' ) {
235- charCoefficient = 0
236- }
237-
232+ const charCoefficient = coefficients . charCoefficient [ char ] ?? 0
238233 const keyWordCoefficient = coefficients . charCoefficient [ keyword ] ?? 0
239234
240235 const languageCoefficient = coefficients . languageCoefficient [ fileContext . programmingLanguage . languageName ] ?? 0
You can’t perform that action at this time.
0 commit comments