# JS Tab bug

**URL:** <https://forums.fusetools.com/t/js-tab-bug/1436>\
**Category:** Bug Reports\
**Created:** [December 14, 2016, 3:31pm UTC](https://forums.fusetools.com/t/js-tab-bug/1436 "2016-12-14T15:31:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MTracey](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@MTracey](https://forums.fusetools.com/u/MTracey)\
**Post date:** [December 14, 2016, 3:31pm UTC](https://forums.fusetools.com/t/js-tab-bug/1436/1 "2016-12-14T15:31:11Z")

</div>

interesting bug:

Fuse version: 0.31.0  
OS: WIndows 10

If I put say the following in a js file say “constants.js” file:

```auto
var CON_JOBSTABLE_INSERT_VALUES = "";
var CON_JOBQUESTIONSTABLE_INSERT_VALUES = "";

```

and position the cursor at the end of CON\_JOBSTABLE\_INSERT\_VALUES and press tab  
instead of a TAB it replaces the first variable with the second:

```auto
var CON_JOBQUESTIONSTABLE_INSERT_VALUES = "";
var CON_JOBQUESTIONSTABLE_INSERT_VALUES = "";

```

anyone seeing this error?

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [December 15, 2016, 8:40am UTC](https://forums.fusetools.com/t/js-tab-bug/1436/2 "2016-12-15T08:40:39Z")

</div>

This sounds like a problem with the text editor (or perhaps the plugin). Which editor are you using?

---

<div class="post-metadata">

**Author:** ![MTracey](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@MTracey](https://forums.fusetools.com/u/MTracey)\
**Post date:** [December 15, 2016, 10:09am UTC](https://forums.fusetools.com/t/js-tab-bug/1436/3 "2016-12-15T10:09:10Z")

</div>

Sublime Text 3 - Stable Channel, Build 3126

---

<div class="post-metadata">

**Author:** ![Vegard\_Strand\_Lende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vegard_strand_lende/32/349_2.png) [@Vegard\_Strand\_Lende](https://forums.fusetools.com/u/Vegard_Strand_Lende)\
**Post date:** [December 15, 2016, 11:51am UTC](https://forums.fusetools.com/t/js-tab-bug/1436/4 "2016-12-15T11:51:43Z")

</div>

That is the built-in code completion in Sublime Text 3. Not a bug and not related to fuse
