Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 26 00:19
    github-actions[bot] labeled #1586
  • Sep 26 00:19
    github-actions[bot] labeled #1588
  • Aug 31 00:16
    github-actions[bot] closed #1585
  • Aug 25 11:30
    Nilos opened #1591
  • Aug 16 00:17
    github-actions[bot] labeled #1585
  • Aug 14 00:15
    github-actions[bot] closed #1584
  • Jul 31 00:14
    github-actions[bot] labeled #1584
  • Jul 29 07:48
    artyompal opened #1590
  • Jul 28 20:22
    henriquesaias opened #1589
  • Jul 28 00:15
    github-actions[bot] closed #1583
  • Jul 14 00:14
    github-actions[bot] labeled #1583
  • Jul 10 00:14
    github-actions[bot] closed #1582
  • Jul 04 00:14
    github-actions[bot] closed #1581
  • Jul 03 00:14
    github-actions[bot] closed #1577
  • Jun 27 19:54
    ghivert opened #1588
  • Jun 26 00:13
    github-actions[bot] labeled #1582
  • Jun 23 21:08
    ayame113 opened #1587
  • Jun 20 21:37
    aminya opened #1586
  • Jun 19 00:15
    github-actions[bot] labeled #1581
  • Jun 18 00:16
    github-actions[bot] labeled #1577
Marc Wensauer
@daslicht
is there ab filesExcludeGlob ?
Basarat Ali Syed
@basarat
@daslicht you can exclude using negation:
"filesGlob":[
  "**/*.server.ts",
  "!**/**.client.ts",
]
Stacey Gammon
@stacey-gammon
Any ideas on why this syntax is highlighting in just grey? http://www.theshelterhelper.com/images/syntaxhighlighting.png
Basarat Ali Syed
@basarat
@Stacey-Gammon its just the way it :)
this.something = Foo.bar(something.something);
^ same here
If you have a suggestion you can make them here : https://github.com/Microsoft/TypeScript-TmLanguage that way all ides get it (atom/vscode/sublime)
Basarat Ali Syed
@basarat
blob
^ one suggestion is to highlight function calls. This is what I do with alm.tools however it doesn't use the tmLanguage files (uses the typescript language service instead)
Francesco Mazzoli
@bitonic
Does atom-typescript pick up tsconfig.json automatically?
I'm getting errors on a project that compiles fine with tsc
Basarat Ali Syed
@basarat
Yes. Please see TypeStrong/atom-typescript#910
@bitonic ^ :rose:
Valentin Robert
@Ptival
@basarat is there a one command atom-ts invokes to compile all .ts files? I'd like to have a script trigger the same thing for my users who don't use atom
Valentin Robert
@Ptival
if I do tsc -p mydir/, I'm not sure why but it goes ahead and tries to compile all of DefinitelyTyped/, ignoring my filesGlob...
Valentin Robert
@Ptival
oh I see, I have to use files, and I have to list all files if I don't use /// reference path, what a bummer...
Basarat Ali Syed
@basarat
@Ptival you can use grunt-ts by @nycdotnet as it supports filesGlob : https://github.com/TypeStrong/grunt-ts/ :rose:
Marc Wensauer
@daslicht
@Valentin FilesGlob is a Atom Specific setting, it will be not used when running tsc in cli
Valentin Robert
@Ptival
got it
now I have another trouble where atom-ts does not pick up on my typings
I put "typings/main.d.ts" in my "filesGlob", is it not enough?
Basarat Ali Syed
@basarat
@Ptival its enough. Please share the tsconfig.json completely :rose:
Valentin Robert
@Ptival
and main.d.ts contains http://paste.awesom.eu/YrQz
Valentin Robert
@Ptival
I also tried removing filesGlob entirely and putting an empty excludes list, I get errors everywhere
and when I open es6-shim/index.d.ts, it complains about duplicate identifiers
maybe relevant, in my typings/ folder, I have a main.d.ts and a browser.d.ts, with both their subdirectories, not sure why
Valentin Robert
@Ptival
do I need a /// <reference path...> in my files in that setting?
Valentin Robert
@Ptival
@basarat you can see a bit of the setup and issues on this gif http://i.imgur.com/DM2O3yB.gifv not sure it'll help
Basarat Ali Syed
@basarat

@Ptival your files glob:

  "filesGlob": [
    "*.ts",
    "coq/*.ts",
    "editor/*.ts",
    "peacoq/*.ts",
    "prooftree/*.ts",
    "typings/main.d.ts"
  ],

Should be :

  "filesGlob": [
    "*.ts",
    "coq/*.ts",
    "editor/*.ts",
    "peacoq/*.ts",
    "prooftree/*.ts",
    "typings/main.d.ts",
    "!typings/browser/**",
    "!typings/browser.d.ts"
  ],
as *.ts matches that
Marc Wensauer
@daslicht
This message was deleted
Marc Wensauer
@daslicht
This message was deleted
Marc Wensauer
@daslicht
funny stuff, I cant use the file name , main.server.ts it will be always not in compile context
but it compiles to Main.server.ts
yeah with capital letter wtf ?!
is there somekimnf of cache going on ?
I renames the Main.server.ts to main.server.ts before
funky
Valentin Robert
@Ptival
ok I've made some progress, now my remaining issue is that the --ambient version of d3 is worthless, and I don't understand how to make the npm typings work
Eugenio Arosteguy
@euginio
I guys
is there some way to replace text preserving case in atom?
Valentin Robert
@Ptival
@euginio yes, click on the "Aa" button on the right
I still am unable to call tsc -p . succesfully from the command line, even though my project builds under atom-typescript, it misses some interface files somehow
Eugenio Arosteguy
@euginio
Hey @Ptival , the option you mention is for match case in the search, I want an option to "preserve case" in the replacement, for example replace "hello" with "hola" and preserving case it will replace also "Hello" with "Hola" (as in sublime)
Yousef Shanawany
@AskYous
Anyone else wish the syntax highlighting was better? I wish it was as good as JavaScript's highlighting in atom.
Leigh Caplan
@texel
Yep, it's pretty terrible for me too
Yousef Shanawany
@AskYous
You think I should open up an issue?
Basarat Ali Syed
@basarat
@texel @AskYous we just use the defacto Microsoft version. More : https://github.com/TypeStrong/atom-typescript/blob/master/docs/grammar.md#cson-grammar
@texel @AskYous because of text mate limitations (plus maintenance burden) I'm using a code based grammar for my next WIP project : https://basarat.gitbooks.io/alm/content/features/typescript.html#syntax-highlighting :rose: