JetBrains IDE with Demandware - e-commerce

I was wondering if anyone has used Demandware with any of JetBrains IDE. I've always just used text editors, and the Terminal. It seems like Demandware UX Studio is only for Eclipse?
Any help or suggestions is much appreciated.

In theory you can use your editor of choice to edit Demandware ISML files and DW Script files such as Sublime or JetBrains, but you would need some kind of WebDAV-Sync solution to automatically upload your files to the server.
You'll also lose debugging when you move away from Eclipse. Editing pipelines will also be quite challenging, as you won't have the visual IDE to edit the files (which are basically just XML).

Fortunately there has been some movement in the community and a plugin has been created for Jetbrains, it is available here: https://github.com/nek4life/intellij-demandware/

There is a Sublime Text 3 plugin (officially supported by Demandware) that will handle webdav syncing with your sandbox server. Pipelines are going away with the new development model and script debugging from Sublime Text is listed as a current TODO. You will still need to return to Eclipse to debug until that feature is finished, but it's nice to see they are making progress.
https://packagecontrol.io/packages/Entropy

Till now, Demandware development extension is available only for eclipse IDE. After installing the demandware development extension, you can take code checkout the storefront cartridges and create the DW server connection in eclipse, which will help you auto upload files to server.
You can use any other IDE, but that will not help you auto sync/auto upload files on server and with pipeline debugging options.

You can use Aptana studio. It is compatible with DW studio plugin.
To use Aptana:
Install Aptana
Go to Window->Preferences->Install/Update->Available Software
Add luna location http://download.eclipse.org/releases/luna/
Enable "Eclipse Kepler Update Site"
Install dw studio as described in documentation (use version for luna)
Optionally configure scss default editor: Aptana Studio 3 code assist for Sass (.scss) files

Related

Can I use the Telosys wizard without installing Eclipse?

I am trying to learn telosys. The eclipse demo seems great.
However, I tried to install the plugin for VSCode, and it did not add any option/menu item anywhere in the VSCode editor.
The eclipse demo shows a great wizard based interface. Is there any way to get that interface without having to install eclipse.
Also, in case it is not possible, which package of eclipse do I need to install to optimally use telosys? I wanted to try out the python & angular bundles of telosys.
Yes indeed, the Telosys VS Code plugin provides only syntax coloration for Telosys files edition (".entity" files for example). Thus there's no particular changes in the VSCode menu.
VSCode is just one code editor (among others) that you can use with Telosys-CLI. The editors extensions are just provided to be more confortable when you're editing Telosys files. All the code generation is supposed to be launch from the command line in Telosys-CLI.
If you want a fully integrated tool, Eclipse + Telosys plugin is the best solution. Telosys Eclipse plugin is installable with all Eclipse versions, so you can choose one of these Eclipse packages :
https://www.eclipse.org/downloads/packages/
for example "Eclipse IDE for Java Developers" and use "Eclipse Marketplace" to install :
Telosys plugin
https://marketplace.eclipse.org/content/telosys-code-generator-java-javascript-python-nodejs-php-c-javaee-spring-jax-rs-vuejs
Python plugin
https://marketplace.eclipse.org/content/pydev-python-ide-eclipse

Typescript files show errors in IntelliJ IDEA Community Edition

I am facing issue with TypeScript in IntelliJ IDEA Community Edition. Earlier I have used IntelliJ IDEA Ultimate Edition for Angular 2 development and it works fine.
This is the error I am getting in my .ts file. Plus there is no intelliSense. Is this feature unavailable in the Community Edition?
As zhengyue pointed out in comments, apparently you are using the "TypoScript" plugin, which is not a "Typescript" plugin.
I made the same mistake. And I also had the same problems that you experienced. Personally I thought it was the #Component decorator that messed things up. But it was zhengyue who pointed out I was using the wrong plugin.
The conclusion for me was that it was better to search for a good alternative. Because I still want to develop my back-end in Java, I wanted ...
something that integrates with IntelliJ as good as possible
but still something which is powerful.
At first I tried eclipse, and found powerful tools in their marketplace, which turned out to be commercial products and expired after 8 days.
Secondly, I downloaded "Visual Studio Code", (not to be confused with the full blown Visual Studio). It is FAST and user-friendly. It launches in less than 2 seconds on my system. And it has great plugins, which allow me to use code completion and refacturing tools. Here is the list of plugins I have installed:
As you can see, there is a plugin that makes you use the keybindings of intellij.
In IntelliJ I configured my ".ts" files to be handled as javascript files. Because it's better than nothing.
I work in IntelliJ all day when I'm working on the Java back-end, and thanks to the javascript features, I still have some (limited) code highlights for the Angular front-end as well. But, when I want to edit something in the front end, I use Visual Studio Code. To make this a smooth transition, I right-click inside the file and use an external tool configuration:
Inside my IntelliJ I configured the root of the angular project as a module. Then the configuration of this external tool looks like this:
This allows me to switch from IntelliJ to Visual Studio code in about 2 seconds, and immediately to the correct line in the correct file.
So, that's what my free Angular-with-Java-combo development workspace looks like.
JavaScript/TypeScript support and many other features are not available in the Community Edition.

IntelliJ Run Configuration Broken by an Incompatible Plugin I Can't Uninstall?

I had been developing an application on a trial version of IntelliJ 2016 Ultimate. Since the trial version ran out, I resumed work using the Community Edition. However, trying to launch my application yielded the following error:
Unknown run configuration type #com.intellij.j2ee.web.tomcat.TomcatRunConfigurationFactory
"No problem" I thought, just an incompatible plugin that was installed with Ultimate that I don't really need anyway. I opened the Plugins section of the Preferences menu, but I can't find the plugin in question. Below is a partial screenshot of the plugin list where I would expect to see the plugin listed in the error message.
The configuration can also not be edited from the Run/Debug Configurations menu, but lists the Run Configuration error as: "Broken configuration due to unavailable plugin or invalid configuration data."
Am I really unable to uninstall the Ultimate plugin preventing my run configuration from working from the Community Edition? What can I do to fix this if so?
It's have been a long time since this question was launched but it might be useful for new searches.
I got the same error with Dart and Flutter.
Just go to Menu >> File >> Settings. Then type plugins on the search box. Check if your plugins need to be updated (in my case Dart and Flutter). I the screenshot I had clicked in the "update" green button. So it turns into "Restart IDE" text. It should fix the problem once you restart the IDE.
To the best of my knowledge the community edition of IDEA will not load and run plugins that are not compatible with it. Moreover, by default, the community edition uses a different configuration directory than the Ultimate edition. So unless you modified the config directory to use, the community version should not be picking up the Ultimate Edition's plugins. Based on the error you show, I think the issue is you simply need to delete that Run configuration. The error is saying that that Run configuration wants to use a Plugin (The Tomcat Plugin) that is not available (i.e. not installed).
If you still want to confirm what plugins are installed, you can manually uninstall a plugin by removing it from the plugins directory. Note that some plugins are simply a standalone JAR, in the plugins directory, others are sub-directories within the plugins directory. Just delete the JAR or sub-directory.
That plugins directory is the idea config directory. See Directories used by the IDE to store settings, caches, plugins and logs for information on its location. On windows for example, by default it will be:
Ultimate: C:\Users\UserName\.IntelliJIdea2016\config\plugins
Community: C:\Users\UserName\..IdeaIC2016\config\plugins
UPDATE
I forgot to mention... bundled plugins are in ${idea-install-directory}/plugins. So for the ultimate edition, the Tomcat plugin is in ${idea-install-directory}/plugins/Tomcat. That is why, as you mentioned in your comment below, you are not seeing that plugin in the user installed plugin directory I mentioned above.
updating flutter and android studio worked in my
case
Simple upgrade Dart plugin..
Go to Settings/Plugins/Browse Repositories and search dart (Language) and upgrade
this will work.
I had a similar worded issue "Run Configuration Error: Broken configuration due to unavailable plugin or invalid configuration data."
In the bottom right part of the Rider IDE, you will see a popup that says
"Plugin supporting feature (Run Configuration[UNITY_ATTACH_AND_PLAY]) is currently disabled."
Click enable plugins, and restart when Rider asks you to do so.
If this does not work, remember that one possible reason is the issues with macOS indexing (my Macbook started to malfunction after its battery hit 0). A way to check is to try and search a file from the top right corner(). If you can not find existing files, this means macOS messed up with indexing.
To solve it, click Apple icon on top left side and go to System Preferences -> Spotlight -> Privacy Tab -> Add all folders to the "won't index" box -> Remove everything you have added so they get reindexed.
https://www.techradar.com/how-to/software/operating-systems/how-to-fix-a-mac-s-broken-find-function-1298964
Lastly, go to Rider and hit File -> Invalidate Caches and Restart.

Creating new dart project in Intellij IDEA 13.1.5 community edition

I wanted to play a little bit with the dart language and since recently I'm trying to switch from eclipse to IntelliJ IDEA I wanted to use that IDE. Unfortunately I can't figure out how I can create new dart project.
I've installed the dart plugin and installation looks fine - I have the plugin directory on my hard drive, dart's formatting options in settings etc. But I don't have any dart related option in the new project dialog (only java, maven, gradle, empty project etc.).
All resources I found told about using the new project dialog, or using WebStorm (like https://confluence.jetbrains.com/display/WI/Getting+started+with+Dart ).
Is it possible at all? Am I missing something?
I'm using IntelliJ IDEA 13.1.5 community edition.
EDIT:
Ticket created: https://youtrack.jetbrains.com/issue/WEB-14060
I recommend using Stagehand (http://stagehand.pub/). It's a great new command-line tool that creates well-formed Dart project folders, complete with pubspec.yaml and even build.dart for Polymer projects. The tool can create console apps, web apps, Polymer apps, and AngularDart apps.
It looks that there is a bug in community edition of 13.1.x and it won't be fixed (but it's already fixed in community edition version 14 and it works in any version of ultimate edition) - https://youtrack.jetbrains.com/issue/WEB-14060

Openlaszlo in Eclipse

Can anybody tell me how to add the openlaszlo plugin to the eclipse or any IDE for openlaszlo ?
Thank you!
IDE4Laszlo - http://wiki.openlaszlo.org/IDE4Laszlo - an Eclipse-based development environment for creating, editing, debugging, and testing applications based on the LZX declarative mark-up language.
Also check https://stackoverflow.com/a/11676129/363075 for details of other development tools for OpenLaszlo.
I would use the Spket IDE plugin. It has some support for Laszlo, and I've used it in projects. The old IBM IDE project has been discontinued back in 2006. The Eclipse Update Site for Spket is http://www.agpad.com/update.
If you would rather use an XML Schema file with Eclipse, there is an Ant build script capable of generating a custom XSD file for your application. See the OpenLaszlo Schema Generator site for more info.