Braqzen

Results 102 issues of Braqzen

It would be useful to have the following annotations added to the language - [x] #5350 - [x] #5351 - [x] #5352 - [ ] #5353

enhancement
language feature

It just calls the function https://github.com/FuelLabs/sway/blob/e70cb773f873914ec3c9bc24bf82aa67e8af900a/sway-lib-std/src/context.sw#L75-L77 but it has a friendlier name. We ought to only have 1 implementation.

lib: std
code quality

Allow the user to 1-click to generate a boilerplate function getter for - a field in a struct - enum variant - storage variable for an ABI

enhancement
language server

The annotation would ignore the specified Sway tests. We could comment and uncomment code or delete it, change it to a function instead of a test etc. but that's all...

enhancement
language feature

It would be useful to create a `Bytes` type directly in sway from a string ex. ```sway let some_bytes: Bytes = b”my text” ```

enhancement
language feature

An enum that has a variant of itself is boxed in Rust. It would be useful to have similar functionality.

enhancement
language feature

We have a library implementation and recently added a `u256` primitive.

enhancement
language feature

It would be nice to allow sway modules to be nested for organization. ```sway pub mod abc { mod efg { .. }; pub mod jkl { .. }; };...

enhancement
language feature

Labels may need to be adjusted... I would like to be able to fetch the encoded value for any function on the ABI / interface. Say I have the following...

enhancement
ABI

The docs import the function as if it is public but the function is actually private so it cannot be imported. Either change the docs or make the function public.

enhancement
lib: std
documentation