Git Product home page Git Product logo

Comments (7)

maxm224 avatar maxm224 commented on August 25, 2024 1

Thanks! This is the ledger part:

"ledger": {
    "type": "custom",
    "candid": "src/ledger/ledger.did",
    "wasm": "src/ledger/ledger.wasm",
    "remote": {
      "candid": "src/ledger/ledger.public.did",
      "id": {
        "ic": "ryjl3-tyaaa-aaaaa-aaaba-cai"
      }
    }
},

from vscode-motoko.

maxm224 avatar maxm224 commented on August 25, 2024 1

Yes, if I downgrade dfx to version 0.11.0 and specify 0.11.0 in dfx.json, I get the same error. If I have just specify 0.11.0 in dfx.json and stay on dfx 0.11.2. No errors are shown, including ones that are obviously wrong. So the language server does not seem to work then.

from vscode-motoko.

borovan avatar borovan commented on August 25, 2024 1

image

we get the same

  "canisters": {
    "main": {
      "main": "src/backend/main/gen/Actor.mo",
      "type": "motoko",
      "dependencies": [
        "content_factory",
        "global_factory",
        "instance_factory",
        "player_factory"
      ]
    },
    "cdn": {
      "main": "src/backend/cdn/Container.mo",
      "type": "motoko"
    },
    "content_factory": {
      "main": "src/backend/service/content/gen/Factory.mo",
      "type": "motoko"
    },
    "global_factory": {
      "main": "src/backend/service/global/gen/Factory.mo",
      "type": "motoko"
    },
    "instance_factory": {
      "main": "src/backend/service/instance/gen/Factory.mo",
      "type": "motoko"
    },
    "player_factory": {
      "main": "src/backend/service/player/gen/Factory.mo",
      "type": "motoko"
    },```

from vscode-motoko.

maxm224 avatar maxm224 commented on August 25, 2024 1

Yes, for me it is not showing an error anymore. This really improves the usability, thanks!!

from vscode-motoko.

rvanasa avatar rvanasa commented on August 25, 2024

Would you mind sending the relevant parts of your dfx.json file? I'll look into fixing this for you.

from vscode-motoko.

rvanasa avatar rvanasa commented on August 25, 2024

Do you run into the same problem if you switch to dfx version v0.11.0 or earlier in the dfx.json file (and then restart the language server)?

from vscode-motoko.

rvanasa avatar rvanasa commented on August 25, 2024

Let me know if this works in v0.4.8 (after running dfx deploy).

Multi-canister projects now work in certain situations, but I'm sure there will still be a few corner cases to figure out.

Reopening for visibility.

Cheers!

from vscode-motoko.

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.