Giter Club home page Giter Club logo

Comments (8)

Shihyeon avatar Shihyeon commented on July 16, 2024 1

{file_directory} better then

from intellij-discord-rp.

pandier avatar pandier commented on July 16, 2024 1

The pull request has been merged and the variables will be avalible in the next 1.1 release.

from intellij-discord-rp.

pandier avatar pandier commented on July 16, 2024

{app_version} is easy enough to add.
Not sure how {app_edition} would work, because IDEs like WebStorm don't have an edition.
Not sure what you mean with {module_name}, a project can have multiple modules, do you mean the one that is currently being edited?
{file_size} may be harder to implement, but not impossible.

from intellij-discord-rp.

Shihyeon avatar Shihyeon commented on July 16, 2024

App edition refers to community edition and ultimate edition. If it is difficult to include it to maintain compatibility with other IDEs, I don't think it is necessary to include it.
{module_name} is the module currently being edited.
If {file_size} is difficult to implement, it is okay to not include it. This is what I want, but it is your right to produce and distribute it.
Thank you for making this open source plugin.

(The text may be strange because I used a translator.)

from intellij-discord-rp.

pandier avatar pandier commented on July 16, 2024

Perhaps {app_full_name} could include the app name with the edition without the version:

  • {app_name} = IntelliJ IDEA
  • {app_full_name} = IntelliJ IDEA Community
  • {app_full_name} {app_version} = IntelliJ IDEA Community 2024.1

For apps that don't have an edition, {app_full_name} would include only the app name:

  • {app_name} = WebStorm
  • {app_full_name} = WebStorm

Also, what if no modules are currently being edited? Should the name be the project name? Could you maybe describe in detail how it would work so I can understand it better and implement it correctly?

from intellij-discord-rp.

Shihyeon avatar Shihyeon commented on July 16, 2024
Perhaps {app_full_name} could include the app name with the edition without the version:

{app_name} = IntelliJ IDEA
{app_full_name} = IntelliJ IDEA Community
{app_full_name} {app_version} = IntelliJ IDEA Community 2024.1
For apps that don't have an edition, {app_full_name} would include only the app name:

{app_name} = WebStorm
{app_full_name} = WebStorm

good

Also, what if no modules are currently being edited? Should the name be the project name? Could you maybe describe in detail how it would work so I can understand it better and implement it correctly?

Different from {project_name}. More precisely, I think the directory name would be more correct than the module name. The directory where the current file is located.

(I'm using a vscode extension that has a similar feel to this plugin. https://github.com/LeonardSSH/vscord)

from intellij-discord-rp.

pandier avatar pandier commented on July 16, 2024

What about naming it {file_directory} or {file_directory_name} instead?
Which one do you think would be better?

from intellij-discord-rp.

pandier avatar pandier commented on July 16, 2024

Since it was too complex to implement the {file_size} variable, I decided to split in into a different issue #48 for future implementation.

from intellij-discord-rp.

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.