Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Kris De Volder
    @kdvolder
    Ticket: spring-projects/sts4#52
    msortur
    @msortur
    I have private spring initializer instance , i need to point spring-boot-initializer plugin to this . when i read https://github.com/Microsoft/vscode-spring-initializr, there is propery "spring.initializr.serviceUrl": "https://start.spring.io/“. Do you know which file in vscode i need to update ?
    msortur
    @msortur
    I got the file where we can configure .vscode/extensions/vscjava.vscode-spring-initializr-0.4.0/package.json
    Kris De Volder
    @kdvolder
    @msortur Glad you found the package.json file for initializr. However, it sounds like you are actually editing that file?
    msortur
    @msortur
    That is right, as i need to point it to private instance of spring initializr
    Kris De Volder
    @kdvolder
    That is actually not a good idea this basically a part of the installe package, not something you should be modifying. I
    That preference can be set by chaning your user or workspace settings. The place you are modifying merely supplies a default value.
    THat change will be overwritten if a new version of the package gets installed.
    Your user or workspace settings on the other hand will not.
    msortur
    @msortur
    What is the recommended approach
    Kris De Volder
    @kdvolder
    So instead what you do is:
    Press CLTR-SHIFT-P
    Then type 'settings'.
    Then open 'user settings'.
    Then in the search box type 'init' or 'spring' or some part of the key.
    You will find that key and its documentation. And you can edit its value.
    msortur
    @msortur
    Thanks , appreciate it .
    Kris De Volder
    @kdvolder
    You can also swith the 'GUI' to just opening the 'settings.json' file and edit that directly.
    NP. Glad I could help :-)
    msortur
    @msortur
    Thanks , can you document this ?
    I can do it if you point me right place
    Kris De Volder
    @kdvolder
    Perhaps the README of the vscode intializer plugin is the right place to document this. So... here:
    msortur
    @msortur
    Perfect , will do
    Hmm... looks like the readme already has some documentation about it. I guess it just wasn't clear to you? If you have an idea to make more understandable, by all means try a PR.
    Kris De Volder
    @kdvolder
    BTW: I'm not a developer on this project myself. Just to make that clear. Though I think if you submit a PR to improve the readme they would be amenable to that.
    Yan Zhang
    @Eskibear
    @msortur It looks like the readme is not clear enough. We'll consider to add more details in it, and a PR is also welcome if you are willing to contribute.
    Phil
    @junu0723
    Hello, I'm trying to make spring boot project but it' just stucked in "Specify Spring Boot Version". It recommends nothing and doesn't go to next step. I think it may happen because of the proxy settings... Can you help me solve the problem?
    Yitao Dong
    @Matthew_Dyt_twitter
    Hi Phill, can you provide the following info for us to help. (Machine OS, VS Code Version, Spring Initializr version, your current proxy settings if available)
    Phil
    @junu0723
    Windows 10, VS Code 1.29.1, Spring Initializr 0.4.2
    I'm sorry that I can't provide accurate proxy setting information... but I just recognize that my chrome proxy address and others(Java, eclipse, etc) proxy addresses are different.
    Yan Zhang
    @Eskibear
    Currently it uses http.get API to retrieve info like bootVersion, available starters, etc. You may take a look at related proxy issues, see if you can work it around.
    Phil
    @junu0723
    My problem is exactly same with Microsoft/vscode-spring-initializr#84. I can make spring boot project using web page.
    It seems proxy setting of my visual studio code is wrong, but I think not. Because Maven: Generate from Maven archetype works well at my VS code...
    :(
    Yan Zhang
    @Eskibear
    For Maven: Generate from Maven archetype, we actually packaged a cached archetype list with the extension. You can try Maven: Update Maven Archetype Catalog, which retrieves info from maven central repo via the same http.get API and updates the cache.
    Yan Zhang
    @Eskibear
    In VS Code settings, I find config entries like "http.systemProxy", "http.proxy", etc. See if you can figure it out. And please let me know how we can provide better experience for users behind proxy.
    bonaluo
    @bonaluo
    can sts initialize provide default configuration file format such as .properties or .yml ; can sts initialize provide default options in configuration file
    .properties or .yml is an option not default .properties and developers can use deufalt option in configuration file such as 'spring.output.ansi.enable=always'
    Ahmad Reza Enshaee
    @HajAhmad
    Hey everybody, the "Edit Starters" option is not available for Gradle file, am I missing something? or the plugin just simply doesn't support it? thanks.
    3 replies
    Manoj Kumar Reddy Pollagari
    @thejonamreddy
    Hi All, Spring Initializer struck at activating extension. No response after that
    m.vesnin
    @bless-rng
    v0.5 - Edit starter removed, add "Add Starters", but cant remove dependency with "Add Starters". Only manul with pom xml
    Venkatraman Natarajan
    @venkatnr-github
    Hello, I have been using Spring initializer Java Support extension v0.7.0 for last few months to develop the springboot applications for my project. The extension suddenly starts to throw error while creating a new maven (gradle) project while trying to unzip the downloaded project. I get the below error: "Fail to create a project. Error: end of central directory record signature not found".
    1 reply
    I am using vscode Version: 1.62.3 (Universal) on Mac 10.15.7 (19H1419). I tried to uninstall/disable and reinstall the extension. Removed vscode completely and reinstalled it. There is no OS patch applied recently. Can somebody help me solve this issue?
    Luciano Donizeti da Silva
    @lucksjb_gitlab
    hi guys
    I´m trying create a new project using springboot initializr
    and show "Fail to create a project. Error: end of central directory record signature not found"
    anyone knows how can I solve it ?
    Rohit Shinde
    @rohigithub
    image.png
    I am also getting this error "Fail to create a project. Error: end of central directory record signature not found" while creating project in VS Code. Please tell me how to resolve it..