sites icon indicating copy to clipboard operation
sites copied to clipboard

Double clicking a filename other than `App.svelte` then clicking the editing area erases all the component

Open inspiredlabs opened this issue 1 year ago • 0 comments

Steps to reproduce:

  • Double clicking a Comp.svelte filename tab in the UI
  • then click the editing area
  • BANG, your component is gone.
import BarryScott from './BarryScott.svelte';
</script>

<BarryScott >
	Bang! And, your component is gone.
</BarryScott>

This is especially annoying when starting a new component as it's handy to double-click the filename and copy it's contents to be reused in the import statement: import Paste from './Paste.svelte'.

Other than that, top-notch first impression. 💯

inspiredlabs avatar Jul 09 '23 17:07 inspiredlabs