You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev/README.md
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -268,6 +268,13 @@ IDE assumes that all information is available at all times.
268
268
IDE should use only types from `ra_hir`, and should not depend on the underling compiler types.
269
269
`ra_hir` is a facade.
270
270
271
+
## IDE API
272
+
273
+
The main IDE crate (`ra_ide`) uses "Plain Old Data" for the API.
274
+
Rather than talking in definitions and references, it talks in Strings and textual offsets.
275
+
In general, API is centered around UI concerns -- the result of the call is what the user sees in the editor, and not what the compiler sees underneath.
276
+
The results are 100% Rust specific though.
277
+
271
278
# Logging
272
279
273
280
Logging is done by both rust-analyzer and VS Code, so it might be tricky to
0 commit comments