Update code-parser-antlr-service.ts

pull/2934/head
bunsenstraat 2 years ago committed by GitHub
parent 4b18f3119d
commit 9960217f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/remix-ide/src/app/plugins/parser/services/code-parser-antlr-service.ts

@ -77,7 +77,7 @@ export default class CodeParserAntlrService {
const average = values.reduce((a, b) => a + b, 0) / values.length
if (average > this.parserTreshHold) {
this.cache[file].parsingEnabled = false
this.plugin.call('notification', 'toast','Some autocomplete features will be disabled temporarily because the file takes too long to process.')
this.plugin.call('notification', 'toast','Some autocomplete features will be temporarily disabled because the file takes too long to process.')
} else {
this.cache[file].parsingEnabled = true
}

Loading…
Cancel
Save