Sophie Dankel

Results 60 issues of Sophie Dankel

This log message occurs often and should really be DEBUG or INFO rather than WARN level.

Currently there is no hover information shown for storage fields. With the [documentation](https://github.com/FuelLabs/sway-standards/issues/5) guidelines saying to write comments on storage fields rather than at the top of the storage declaration,...

language server

We should show the constant's type in the hover docs like we do for variables. Currently we show the doc comments but nothing else. ![Image](https://user-images.githubusercontent.com/47993817/244219534-1795866d-7a80-4fd2-a15c-12048b328e43.png) ![Image](https://user-images.githubusercontent.com/47993817/244219580-a8a05640-fb3a-4376-8318-c685cb571123.png)

language server

In rust these take you to the appropriate page in docs.rs. Since we don't have docs for every sway crate hosted, for now we could make these into go-to links....

language server
forc-doc

## Description Related https://github.com/FuelLabs/sway-vscode-plugin/pull/166 Adds a [DAP](https://microsoft.github.io/debug-adapter-protocol//) server as a new forc plugin, `forc-debug`. This enables a UI debugging experience in IDEs such as VSCode. For now, only debugging forc...

enhancement
forc-debug

@SilentCicero suggested a library in sway similar to rust's [dbg](https://doc.rust-lang.org/std/macro.dbg.html) that prints debug information.

lib: std
forc-test
forc-debug

We should add a command like `forc debug serve` that starts a [DAP](https://microsoft.github.io/debug-adapter-protocol/specification) server for the LSP to communicate with. The server will be essentially a passthrough to the fuel...

enhancement
forc-debug

@kayagokalp and I did an analysis of what's missing spans after the IR stage with optimization disabled. We found that almost everything is there, except for the return value spans....

compiler: ir
forc-debug

`forc init` generates a default forc project. Currently the files it generates look like this: `Forc.toml` ```toml [project] authors = ["Sophie"] entry = "main.sw" license = "Apache-2.0" name = "some_name"...

forc

for this test: ```sway contract; struct MyStruct { a: u64, b: Option } impl Eq for MyStruct { fn eq(self, other: Self) -> bool { __eq(self.a, other.a) } } #[test]...

forc-test