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
GM, and thank you for giving such a valuable open source. I'd like to use this open source to integrate the rust-analyzer-wasm function into another open source web IDE.
However, two serious flaws were discovered in this open source.
panicked at 'index out of bounds: the len is 1 but the index is 27'
First, if you add code into the IDE soon after it appears on the screen, you will get an index error panicked at 'index out of bounds: the len is 1 but the index is 27' as shown in the first image below. The providers injected into the Monaco will not function properly in this panic state. This state is depicted in the image below.
panicked at 'assertion failed: self.is_char_boundary(n)
Second, when the IDE with rust-anlayzer-wasm is loaded, if you enter a language other than English before English, the error panicked at 'assertion failed: self.is_char_boundary(n) appears. Once a runtime error occurs, the providers injected into monaco will no longer function properly. This state is depicted in the image below.
I'd like us to discuss and resolve these difficulties. Have you any idea why?
The text was updated successfully, but these errors were encountered:
GM, and thank you for giving such a valuable open source. I'd like to use this open source to integrate the rust-analyzer-wasm function into another open source web IDE.
However, two serious flaws were discovered in this open source.
panicked at 'index out of bounds: the len is 1 but the index is 27'
First, if you add code into the IDE soon after it appears on the screen, you will get an index error
panicked at 'index out of bounds: the len is 1 but the index is 27'
as shown in the first image below. The providers injected into the Monaco will not function properly in this panic state. This state is depicted in the image below.panicked at 'assertion failed: self.is_char_boundary(n)
Second, when the IDE with rust-anlayzer-wasm is loaded, if you enter a language other than English before English, the error
panicked at 'assertion failed: self.is_char_boundary(n)
appears. Once a runtime error occurs, the providers injected into monaco will no longer function properly. This state is depicted in the image below.I'd like us to discuss and resolve these difficulties. Have you any idea why?
The text was updated successfully, but these errors were encountered: