IntelliJ and VS Code support a "editor-based REST client" that allows you to write and save HTTP requests in a file and execute them (example).
I think it would be a good idea to include something like this in a project for a REST API so developers can see various endpoints and test them without leaving the editor, but I don't want to tie them to a specific IDE.
Is it possible to run .http files without requiring my team members adopt IntelliJ or VSCode?
If you are using VS Code you can use httpYAC. It is compatible with the IntelliJ http-Client.
You can try restcli:
https://github.com/restcli/restcli
A missing commandline application for execute IntelliJ HTTP Client file.
Related
I want to create a web (frontend and backend) and I want to use JetBrains. Should I use WebStorm for frontend and IntelliJ for backend? Or should I have the whole code in just one IDE, and which one would that be?
I still don't understand how to use them properly, how the code of a website would be divided in the different IDEs.
I have an MVC 5 application we're moving from on-premise to the Azure cloud. Currently, we have several publish profiles, one per environment, which we determine using a powershell script. One of our goals is to make the building scripts and infrastructure as simple as possible, so I was wondering if I could make it so that using only my appveyor.yml file I could set the publish profile to be used, so
Is there a way to set the publish profile from the appveyor.yml file?
If not what are my choices?
You can run your PowerShell script as part of desired build step in pipeline. It is possible can run commands right from YAML file or UI or check-in your PowerShell script into repository and run .ps1 file. You might consider using secure variables to avoid checking in things like connection strings into repo in clear text.
However this custom script/profiles approach will not allow you to use built-in WAP artifacts packaging and you will be also needed to use custom script instead of automatic MSBuild mode. Which is OK, but a little bit more scripting. Also you will be needed to publish artifacts so it will be available for deployment.
Maybe easier option is to let AppVeyor do all build and WAP artifacts packaging/publishing automatically, and then use built-in Web Deployment with Web Deploy parametrization instead of multiple publishing profiles.
But if you decide to go with custom scripts, and multiple publishing profiles, you still can use use built-in Web Deployment with artifacts created by your scripts.
I need some help getting started making a specific IntelliJ plugin.
I want to make an IntelliJ plugin that makes it so you can launch intelliJ actions from CLI (or from a web service if it's easier).
For example, I'm done building my project with a gradle script... but i want to get it ready in intelliJ too. Right now I have to do this manually with a point-and-clicks.
Instead I want to have this the ability to externally trigger some IntelliJ commands. In my example I would want to fire off these requests from my gradle script:
run-intellij-command {project-path} --action refresh-gradle
run-intellij-command {project-path} --action build-project
run-intellij-command {project-path} --action start-debugging --configurationName={configuration-name}
Does anyone have an example of how I can get started with this?
Really hoping there is an intellij plugin project that already does something similar like reacting to cli commands or hosts a web service that can be called?
Thanks!
Also created this https://youtrack.jetbrains.com/issue/IDEA-184885
hoping to see this feature become a reality some day
You can use the ApplicationStarterEx interface to implement that. Provide a class implementing the interface, and register it in your plugin.xml as the <appStarter> extension point.
To execute your code, use Tools | Create Command-line Launcher, and then run idea <startername> <arguments> from the command line, where startername is what you return from ApplicationStarter.getCommandName().
I'm not aware of any existing open-source plugins that implement similar functionality.
I want to migrate from Eclipse to WebStorm for front end programming. I have done a setup for WebStorm but I couldn't find the way to do:
Ant view - I couldn't find Ant view to run Ant files
File synchronizer - to synchronize the code from Eclipse editor to actual working domain folder, I used to use file synchronizer. For WebStorm - I have found remote file synchronizer plugin but either I am not able to use it or it is meant for something else.
Any help on these would be highly appreciated!!
Also, I used to work on multiple projects simultaneously. Is there any way in WebStorm to use multiple projects in same view (without opening different windows)? If it is not feasible to do these things in WebStorm please guide me to choose good IDE for frontend programming.
I need to be able to add a svn precommit check to ensure that all java files being committed are properly indented - adhering to our project specific settings. We use IntelliJ IDEA 9.0 for our development. I was wondering if it is possibe to directly access IntelliJ IDEA 9.0's indentation functionality via an API so that I can call it from svn pre-commit hook. Any better ideas? (I don't intend to write plugins)
Commit dialog already has certain Before commit actions including Reformat code. Just make sure it's enabled. There should be also an API to provide custom actions for this dialog which will be performed by plug-ins. Check the IDEA Community edition source code to see how to use it.