4979a51a9c
This adds quite a lot of information though, because we send many strings. Before: 20686 characters. After: 55345 characters. Theoretically we could do better, and send information about existing imports only once as well, so when the user continues typing in a single file, without touching imports, we don't send any new data about imports (maybe just a confirmation that it is still the same). But I'm not sure if this is a worthwhile optimization. Actually, even included suggestion sets have similar property - they don't change for a given file, unless there are changes to other libraries which we might want to include. R=brianwilkerson@google.com Change-Id: I2f55e2dc85508849146aa39eb279beabaec937c0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/103561 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
100 lines
2.6 KiB
Markdown
100 lines
2.6 KiB
Markdown
Checklist to ensure that we have integration test coverage of all analysis
|
|
server calls. This file is validated by `coverage_test.dart`.
|
|
|
|
## analysis domain
|
|
- [x] analysis.getErrors
|
|
- [x] analysis.getHover
|
|
- [x] analysis.getImportedElements
|
|
- [x] analysis.getLibraryDependencies (failing - see #29310)
|
|
- [x] analysis.getNavigation (failing - see #28799)
|
|
- [x] analysis.getReachableSources (failing - see #29311)
|
|
- [ ] analysis.getSignature
|
|
- [x] analysis.reanalyze
|
|
- [x] analysis.setAnalysisRoots
|
|
- [x] analysis.setGeneralSubscriptions
|
|
- [x] analysis.setPriorityFiles
|
|
- [x] analysis.setSubscriptions
|
|
- [x] analysis.updateContent
|
|
- [x] analysis.updateOptions (failing - see #28800) (deprecated)
|
|
- [ ] analysis.analyzedFiles
|
|
- [ ] analysis.closingLabels
|
|
- [ ] analysis.errors
|
|
- [ ] analysis.flushResults
|
|
- [ ] analysis.folding
|
|
- [x] analysis.highlights
|
|
- [ ] analysis.implemented
|
|
- [ ] analysis.invalidate
|
|
- [x] analysis.navigation
|
|
- [x] analysis.occurrences
|
|
- [x] analysis.outline
|
|
- [x] analysis.overrides
|
|
|
|
## completion domain
|
|
- [ ] completion.availableSuggestions
|
|
- [ ] completion.existingImports
|
|
- [ ] completion.getSuggestionDetails
|
|
- [x] completion.getSuggestions
|
|
- [x] completion.listTokenDetails
|
|
- [ ] completion.registerLibraryPaths
|
|
- [ ] completion.results
|
|
- [ ] completion.setSubscriptions
|
|
|
|
## diagnostic domain
|
|
- [x] diagnostic.getDiagnostics
|
|
- [x] diagnostic.getServerPort
|
|
|
|
## edit domain
|
|
- [x] edit.dartfix
|
|
- [x] edit.format
|
|
- [x] edit.getAssists
|
|
- [x] edit.getAvailableRefactorings
|
|
- [x] edit.getDartfixInfo
|
|
- [x] edit.getFixes
|
|
- [x] edit.getPostfixCompletion
|
|
- [x] edit.getRefactoring
|
|
- [x] edit.getStatementCompletion
|
|
- [x] edit.importElements
|
|
- [x] edit.isPostfixCompletionApplicable
|
|
- [x] edit.listPostfixCompletionTemplates
|
|
- [x] edit.sortMembers
|
|
- [x] edit.organizeDirectives
|
|
|
|
## execution domain
|
|
- [x] execution.createContext
|
|
- [x] execution.deleteContext
|
|
- [ ] execution.getSuggestions
|
|
- [x] execution.mapUri
|
|
- [x] execution.setSubscriptions
|
|
- [ ] execution.launchData
|
|
|
|
## search domain
|
|
- [x] search.findElementReferences
|
|
- [x] search.findMemberDeclarations
|
|
- [x] search.findMemberReferences
|
|
- [x] search.findTopLevelDeclarations
|
|
- [ ] search.getElementDeclarations
|
|
- [x] search.getTypeHierarchy
|
|
- [ ] search.results
|
|
|
|
## server domain
|
|
- [x] server.getVersion
|
|
- [x] server.shutdown
|
|
- [x] server.setSubscriptions
|
|
- [ ] server.connected
|
|
- [ ] server.error
|
|
- [x] server.status
|
|
|
|
## analytics domain
|
|
- [x] analytics.isEnabled
|
|
- [x] analytics.enable
|
|
- [x] analytics.sendEvent
|
|
- [x] analytics.sendTiming
|
|
|
|
## kythe domain
|
|
- [x] kythe.getKytheEntries
|
|
|
|
## flutter domain
|
|
- [ ] flutter.getChangeAddForDesignTimeConstructor
|
|
- [ ] flutter.setSubscriptions
|
|
- [ ] flutter.outline
|