# Sublime Plugin: no autocomplete on tags / classes, only on attributes?

**URL:** <https://forums.fusetools.com/t/sublime-plugin-no-autocomplete-on-tags-classes-only-on-attributes/5842>\
**Category:** Bug Reports\
**Created:** [December 21, 2015, 10:14am UTC](https://forums.fusetools.com/t/sublime-plugin-no-autocomplete-on-tags-classes-only-on-attributes/5842 "2015-12-21T10:14:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heiko](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/heiko/32/154_2.png) [@Heiko](https://forums.fusetools.com/u/Heiko)\
**Post date:** [December 21, 2015, 10:14am UTC](https://forums.fusetools.com/t/sublime-plugin-no-autocomplete-on-tags-classes-only-on-attributes/5842/1 "2015-12-21T10:14:42Z")

</div>

Fuse: 0.9.4 (5388) Sublime: Stable 3083 - unregistered

Hi all.

I try to get my hands on Fuse and installed Fuse and Sublime text, but I can’t get autocomplete to work (it’s not about beeing lazy, it’s also very helpfull when you start to learn something new). Sometimes it works (only once), and it does not work when I use (tried a couple of things).

However, on attributes the autocomplete seems to work most of the times. It’s a bit wierd. I reinstalled evertything and then it worked on a example, then I moved to my test (simple Hello World) and it stopped working at all.

No error output on the console.

Typical picture: ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/zqlvsphcr64G-legacy-files-Y2r8fNx4j9jHRDun-_Ws3ufqpYQD-mLD3JXrvhRAL.png)

Sometimes: ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/Psd9xfbATwuG-legacy-files-lQjLn3WcDtOBWSOf-G7SPd8y-zg-vJQtuyjzuWL_E.png)

or this… ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/KoEOfjomFTSw-legacy-files-rNryyfj7ctJzTBHo-1X24fiLl6Y7x6Z5EbcH2hQVF.png)

But this works: ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/XfSP6SBZdyMm-legacy-files-Uly5PEnAsNzKRvoX-V1xms-h9bATCqvToaODuoueN.png)

Any ideas?

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [December 21, 2015, 11:07am UTC](https://forums.fusetools.com/t/sublime-plugin-no-autocomplete-on-tags-classes-only-on-attributes/5842/2 "2015-12-21T11:07:02Z")

</div>

Hi, this is due to a limitation in the code completion. We don’t suggest the `<App>` tag itself, nor do we provide suggestions directly inside its scope. So you get

```auto
<App Theme="Basic">
 <StackPanel>
  <!-- completion here and inwards -->
 </StackPanel>
 <!-- No completion here -->
</App>

```

I’ve created an issue to improve this.

Just to confirm that you’re not seeing any additional bugs, can you please verify that you get code completion inside the `<StackPanel>` in the code above?

---

<div class="post-metadata">

**Author:** ![Heiko](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/heiko/32/154_2.png) [@Heiko](https://forums.fusetools.com/u/Heiko)\
**Post date:** [December 21, 2015, 12:38pm UTC](https://forums.fusetools.com/t/sublime-plugin-no-autocomplete-on-tags-classes-only-on-attributes/5842/3 "2015-12-21T12:38:50Z")

</div>

Thanks, Anders. While completing some tutorials from YouTube, I realized that the auto complete works from the third level, i.e. from the Panels as you already mentioned.

So yes, I can confirm: Everything in the StackPanel has Autocomplete / suggest. I am pretty sure that suggesting `<App>` adds no value, but the second level would make sense, especially as some tutorials start from the second level.

(I am not sure, but I thought seeing auto complete / suggest on the second level from the tutorial vids, but can’t remember right now)

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [December 21, 2015, 1:29pm UTC](https://forums.fusetools.com/t/sublime-plugin-no-autocomplete-on-tags-classes-only-on-attributes/5842/4 "2015-12-21T13:29:15Z")

</div>

Ok good, then at least we’re seeing consistent behaviour! 🙂 I agree that the second level makes sense, so we’re going to fix that.

---

<div class="post-metadata">

**Author:** ![mcoban86](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mcoban86](https://forums.fusetools.com/u/mcoban86)\
**Post date:** [December 25, 2015, 2:53pm UTC](https://forums.fusetools.com/t/sublime-plugin-no-autocomplete-on-tags-classes-only-on-attributes/5842/5 "2015-12-25T14:53:55Z")

</div>

So, is it possible without StackPanel tag? Because according the video that I watch, this is possible but, my sublime text can not work if not inside the StackPanel

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [December 25, 2015, 5:18pm UTC](https://forums.fusetools.com/t/sublime-plugin-no-autocomplete-on-tags-classes-only-on-attributes/5842/6 "2015-12-25T17:18:54Z")

</div>

The App can only have one Element inside it. So it’s like a special Panel with only one position.
