Giter VIP home page Giter VIP logo

Comments (6)

AndyMoreland avatar AndyMoreland commented on September 20, 2024

re: 1: that's funny. I went through and replaced all of my "/" characters with "path.separator" in an effort to be windows compatible. Clearly that was a mistake in this instance.

re: 2: is there any chance the code is public? I could take a look more easily if so.

I'll address (1) tonight.

Thanks for reporting this.

from tsunami.

asvetliakov avatar asvetliakov commented on September 20, 2024

actually 2) is very simple reproducable:
create following structure:

 - src
   - test1.ts
   - test2.ts
  tsconfig.json

tsconfig.json:

{
  "compilerOptions": {
    "target": "es5",
    "lib": [
      "es2015",
      "dom"
    ],
    "module": "es2015",
    "moduleResolution": "node",
    "jsx": "react",
    "sourceMap": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noEmitOnError": true,
    "noImplicitAny": true,
    "suppressImplicitAnyIndexErrors": true,
    "strictNullChecks": true,
    "typeRoots": [
      "types",
      "node_modules/@types"
    ],
    "types": [
    ],
    "baseUrl": ".",
    "paths": {
      "*": [
        "types/*"
      ]
    }
  },
  "include": [
    "src/**/*"
  ],
  "exclude": [
    "node_modules",
    "public",
    "compiled"
  ]
}

test1.ts

export function test1(a: string): boolean {
    return false;
}

test2.ts:

test1<complete here>

Result:

import { test1 } from "c:/Users/asvet/work/test/src/test1";

from tsunami.

AndyMoreland avatar AndyMoreland commented on September 20, 2024

cool, thank you. I'll fix that too. I know what's wrong.

from tsunami.

asvetliakov avatar asvetliakov commented on September 20, 2024

Thanks. The completion popup actually displays correct relative name if it helps.
Also thanks for your plugin, your parser is pretty good from first view - works correctly and very fast for pretty large project.

from tsunami.

AndyMoreland avatar AndyMoreland commented on September 20, 2024

Hey -- I've gone ahead and released tsunami-code 0.5.2. If you update your extension (and maybe restart vscode) it should work. I tested it on a windows box on a small project.

Thanks for reporting this and please feel free to report any other bugs you encounter -- there are a few issues laying around on this github from people I know in real life that I haven't gotten around to but in general I try to fix bugs within about 24 hours.

from tsunami.

asvetliakov avatar asvetliakov commented on September 20, 2024

0.5.2 works, thanks!

from tsunami.

Related Issues (18)

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.