Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Missing intellisense on too big File #6986

@SeriousM

Description

@SeriousM

Version: sprint 36 experimental build 0.36.0-11506 (release 942505c)
OS: Win7 x64, english
Extensions: none

Hi, I found a strange bug and I want to share it with you.

I was playing around with the phaser.io framework v1.1.5 and included the not-minified version (phaser.js) of it but I noticed that the intellisense was missing.
bracketserror

After changing to the minified version (phaser.min.js) and a reload of Brackets the intellisense was available.
bracketsok

I was able to switch forth and back several times and the error was reproducible.
Here is the gist to the test.js file.

var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update });

var s;

function create() {

    game.physics.setBoundsToWorld(true, true, true, false);

    s = game.add.tileSprite(0, 0, 800, 600, 'starfield');

    // auto-complete here:
    s.
}

I think the problem is about the size of the file. I know that the files pf phaser.io are JSLint'ed, therefor the minified version should not emit an error that causes this problem.

The problem is, that I can't produce such a big file to prove it.
I tried to get a console output from Brackets but I failed.

I hope you can reproduce the error.

Best regards and keep up this awesome product!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions