GithubHelp home page GithubHelp logo

Comments (9)

Phaiax avatar Phaiax commented on September 24, 2024

stack overflow is fixed now. (I will release the next version tomorrow)
I have updated the typescript library, because I don't know if this is an issue with ArcticTypescript. The debug output you gave me in that other issue seemed fine.

from arctictypescript.

brakmic avatar brakmic commented on September 24, 2024

👍

from arctictypescript.

brakmic avatar brakmic commented on September 24, 2024

I installed the new version, 0.6.5, and the completion worked once, in one of my TS files, but later the old problem reappeared again. You know, the non-context-sensitive completion with all possible selections.

Also, there's a new error message appearing in the console.

Regards,
Harris

ArcticTypescript: error   : Internal ArcticTypescript error during show_errors: "TSS command processing error: TypeError: Cannot read property 'fileName' of undefined"
 (Exception Message: 'NoneType' object is not subscriptable)
ArcticTypescript: error   : Internal ArcticTypescript error during show_errors: "TSS command processing error: TypeError: Cannot read property 'fileName' of undefined"
 (Exception Message: 'NoneType' object is not subscriptable)
ArcticTypescript: error   : Internal ArcticTypescript error during show_errors: "TSS command processing error: TypeError: Cannot read property 'fileName' of undefined"
 (Exception Message: 'NoneType' object is not subscriptable)
ArcticTypescript: error   : Internal ArcticTypescript error during show_errors: "TSS command processing error: TypeError: Cannot read property 'fileName' of undefined"
 (Exception Message: 'NoneType' object is not subscriptable)

from arctictypescript.

Phaiax avatar Phaiax commented on September 24, 2024

please try again with 0.6.6 :)

from arctictypescript.

brakmic avatar brakmic commented on September 24, 2024

Hi,

After having installed v0.6.6 I get these errors when trying to invoke code completion (by using "dot" in a constructor of a TS class).

ArcticTypescript: notify  : Try open project: c:\projects\advarics.cloud.cockpit\cockpitwebrole
ArcticTypescript: notify  : starting tsserver c:\projects\advarics.cloud.cockpit\cockpitwebrole\tsconfig.json
ArcticTypescript: notify  : The setting node_path is set to "none". That is depreciated. Remove the setting.
ArcticTypescript: notify  : The setting node_path is set to "none". That is depreciated. Remove the setting.
ArcticTypescript: error   : TSS process has terminated unexpectly
ArcticTypescript: error   : typescript-tools error: 
 C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:190

            seenNoDefaultLib = seenNoDefaultLib || source.hasNoDefaultLib;

                                                         ^

TypeError: Cannot read property 'hasNoDefaultLib' of undefined

    at C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:190:58

    at Array.forEach (native)

    at TSS.setup (C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:188:24)

    at Object.<anonymous> (C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:600:5)

    at Module._compile (module.js:460:26)

    at Object.Module._extensions..js (module.js:478:10)

    at Module.load (module.js:355:32)

    at Function.Module._load (module.js:310:12)

    at Function.Module.runMain (module.js:501:10)

    at startup (node.js:129:16)


ArcticTypescript: notify  : Initializion finished
ArcticTypescript: error   : TSS process has terminated unexpectly
ArcticTypescript: error   : typescript-tools error: 

Assigning ts to syntax Packages/ArcticTypescript/theme/Typescript.tmLanguage
reloading Packages/User/TypeScript.sublime-settings
SublimeLinter: tslint version query: C:\Users\Harris\AppData\Roaming\npm\tslint.cmd --version 
SublimeLinter: tslint version: 2.1.1 
SublimeLinter: tslint: (>= 0.4.0) satisfied by 2.1.1 
SublimeLinter: tslint activated: C:\Users\Harris\AppData\Roaming\npm\tslint.cmd 
ArcticTypescript: error   : TSS process has terminated unexpectlyArcticTypescript: error   : TSS process has terminated unexpectly

ArcticTypescript: error   : typescript-tools error: 

ArcticTypescript: error   : typescript-tools error: 
 C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:190

            seenNoDefaultLib = seenNoDefaultLib || source.hasNoDefaultLib;

                                                         ^

TypeError: Cannot read property 'hasNoDefaultLib' of undefined

    at C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:190:58

    at Array.forEach (native)

    at TSS.setup (C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:188:24)

    at Object.<anonymous> (C:\Users\Harris\AppData\Roaming\Sublime Text 3\Packages\ArcticTypescript\bin\tss.js:600:5)

    at Module._compile (module.js:460:26)

    at Object.Module._extensions..js (module.js:478:10)

    at Module.load (module.js:355:32)

    at Function.Module._load (module.js:310:12)

    at Function.Module.runMain (module.js:501:10)

    at startup (node.js:129:16)


SublimeLinter: tslint: widget-config.ts ['C:\\Users\\Harris\\AppData\\Roaming\\npm\\tslint.cmd', '-f', '@'] 
ArcticTypescript: error   : TSS process has terminated unexpectly
ArcticTypescript: error   : typescript-tools error: 

ArcticTypescript: error   : TSS process has terminated unexpectlyArcticTypescript: error   : TSS process has terminated unexpectly

ArcticTypescript: error   : typescript-tools error: 
 ArcticTypescript: error   : typescript-tools error: 


ArcticTypescript: error   : TSS process has terminated unexpectlyArcticTypescript: error   : TSS process has terminated unexpectly

ArcticTypescript: error   : typescript-tools error: 
 ArcticTypescript: error   : typescript-tools error: 


ArcticTypescript: error   : TSS process has terminated unexpectlyArcticTypescript: error   : TSS process has terminated unexpectly

ArcticTypescript: error   : typescript-tools error: 

ArcticTypescript: error   : typescript-tools error: 

ArcticTypescript: error   : TSS process has terminated unexpectlyArcticTypescript: error   : TSS process has terminated unexpectly

ArcticTypescript: error   : typescript-tools error: 

ArcticTypescript: error   : typescript-tools error: 

ArcticTypescript: error   : TSS process has terminated unexpectlyArcticTypescript: error   : TSS process has terminated unexpectly

ArcticTypescript: error   : typescript-tools error: 
 ArcticTypescript: error   : typescript-tools error: 


ArcticTypescript: error   : TSS process has terminated unexpectly
ArcticTypescript: error   : typescript-tools error: 

SublimeLinter: tslint: widget-config.ts ['C:\\Users\\Harris\\AppData\\Roaming\\npm\\tslint.cmd', '-f', '@'] 
ArcticTypescript: error   : TSS process has terminated unexpectly
ArcticTypescript: error   : typescript-tools error: 

from arctictypescript.

Phaiax avatar Phaiax commented on September 24, 2024

I can reproduce this error if I insert a non-existing file into tsconfig.json.

But I agree that this should not happen, even with non-existent files listed. I issued a bug report in typescript-tools.

from arctictypescript.

brakmic avatar brakmic commented on September 24, 2024

Hi,

The code completion works now. I changed my tsconfig.json to search for TS-files only within my Scripts-folder. Previously it was set to the project path (and there are many of other non-TS source files).
I also put compileOnSave to false because I'm using Gulp anyway.

Maybe this was the reason why the plugin presented lots of possible completions?

from arctictypescript.

Phaiax avatar Phaiax commented on September 24, 2024

hmm, i'll try to reproduce this. Are there any .ts or .d.ts files along your other source files? Btw: Are you using Angular.js?

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

from arctictypescript.

brakmic avatar brakmic commented on September 24, 2024

Yeah, I do have some t.ds files, in a separate subdirectory.
I'm not using Angular.

from arctictypescript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.