Ryan Gonzalez
2017-10-23 16:42:49 UTC
e.g. :
***@DevPC-LX2 ~ $ rlwrap dart
/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot
{"event":"server.connected","params":{"version":"1.18.0","pid":20025,"sessionId":""}}
{"id": "1", "method": "analysis.updateContent", "params": {"files":
{"/tst.dart": {"type": "add", "content": "void main() => int."}}}}
{"id":"1","result":{}}
{"id": "2", "method": "completion.getSuggestions", "params": {"file":
"/tst.dart", "offset": 19}}
{"id":"2","error":{"code":"UNKNOWN_SOURCE","message":"Unknown source"}}
Why the UNKNOWN_SOURCE error? I already added the file using
analysis.updateContent...what am I missing here?
--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/
***@DevPC-LX2 ~ $ rlwrap dart
/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot
{"event":"server.connected","params":{"version":"1.18.0","pid":20025,"sessionId":""}}
{"id": "1", "method": "analysis.updateContent", "params": {"files":
{"/tst.dart": {"type": "add", "content": "void main() => int."}}}}
{"id":"1","result":{}}
{"id": "2", "method": "completion.getSuggestions", "params": {"file":
"/tst.dart", "offset": 19}}
{"id":"2","error":{"code":"UNKNOWN_SOURCE","message":"Unknown source"}}
Why the UNKNOWN_SOURCE error? I already added the file using
analysis.updateContent...what am I missing here?
--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.