Giter Site home page Giter Site logo

Comments (11)

macalimlim avatar macalimlim commented on June 11, 2024

Hi @Zennii, thankyou for filing this issue. I will take a look at it this week.

from ftw.

macalimlim avatar macalimlim commented on June 11, 2024

Can you give me more details about your setup? Like godot-rust version, operating system, etc. Did you generate the project using ftw new <project>? Or using the cargo-generate template from a previous version? Thanks

from ftw.

macalimlim avatar macalimlim commented on June 11, 2024

I did some local testing and I did not get the same error. Please see the attached screenshot
ftw-github-issue-16

from ftw.

macalimlim avatar macalimlim commented on June 11, 2024

The ftw version I used in the screenshot above is the latest on the main branch. The next screenshot is the ftw version that is being distributed by crates.io
ftw-github-issue-16-p2

from ftw.

macalimlim avatar macalimlim commented on June 11, 2024

In both cases, I did not get the same error as you did, can you give me more details about your setup?

from ftw.

Zennii avatar Zennii commented on June 11, 2024

I did generate it using ftw new <project>, I'm using Windows 10, Cargo.toml says gdnative = "0.9.3", it happens every time I create a new class, I have to add the imports for every single class each time. If rust version helps: rustc 1.52.1 (9bc8c42bb 2021-05-09)

from ftw.

Zennii avatar Zennii commented on June 11, 2024

For example, creating a random class (chars/Playertt) just now:
image
Red shows the errors (Clion), it generates with incorrect pathing or missing necessary imports

use cams::mouse_cam_clipped;
use chars::{player, playertt};

from ftw.

Zennii avatar Zennii commented on June 11, 2024

image
I performed the same steps as one of your screenshots in powershell and it seems to have replicated the problem -- It couldn't have to do with my filepaths using # would it? I've run across programs that hate me for using symbols in my paths

from ftw.

macalimlim avatar macalimlim commented on June 11, 2024

@Zennii please see the PR for this issue

from ftw.

Zennii avatar Zennii commented on June 11, 2024

@macalimlim Looks like that branch fixes it for me as well! Thanks!

image

from ftw.

macalimlim avatar macalimlim commented on June 11, 2024

Great! I will do a release these coming days. Thanks again for filing this issue 👍🏾

from ftw.

Related Issues (10)

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.