Giter VIP home page Giter VIP logo

sfcc-studio's People

Contributors

actions-user avatar andrewtb avatar avator avatar dependabot[bot] avatar nek4life avatar rtiedema avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sfcc-studio's Issues

isml fragments showing errors

Is there anything you can do to the the isml language injection fragments always being underlined like there is something wrong? Example here:
image

NullPointerException while uploading cartridges

Problem

Hi when I try to upload my cartridge to my sandbox I get this error:

java.lang.NullPointerException
	at com.binarysushi.studio.actions.UploadCartridgeAction.actionPerformed(UploadCartridgeAction.kt:49)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:244)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:265)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:244)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$performAction$0(ActionMenuItem.java:277)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:236)
	at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:67)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.performAction(ActionMenuItem.java:269)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:284)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$2(ActionMenuItem.java:111)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:111)
	at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:541)
	at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:571)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6654)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
	at java.desktop/java.awt.Component.processEvent(Component.java:6419)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5029)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2790)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4861)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:891)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:820)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:757)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:447)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:818)

And I also noticed that debug mode does not hit any breakpoints.

System Info

Windows 11 22000.469
Webstorm 2021.3.1 Build #WS-213.6461.79
node 10.24.0
Cartridges paths:
QLUXqThOdq
Plugin settings (already tested on VSCode, so I assume they are correct):
s0ZeXqbQem

Files are not synced when changed through separate process

Files modified by a build system such as gulp or webpack are not picked up by the BulkFileListener until you switch away from the IDE to another application and back. This seems to be a limitation of the IDE for performance reasons.

I currently have a request into the plugin forum to see if there are any workarounds for this.

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003028820-BulkFileListener-behavior-with-out-of-process-files

Rename file

Hi.
After rename file plugin created a file with a new name on the server but does not delete the file with an old name.

Does not sync to server

Hi, we've been using your DW plugin for a while. Today I tried using the new one, but was not able to upload files. Can you suggest please if there were any changes in upload process? Should cartridges be marked as sources root? And where can I find connection setting after project is created? Should upload version be an active version?
Seems like I have filled all the fields correctly, but clicking clean cartridges does nothing.

Upload broken if empty cartridge directory

Hi,

When you are using the command Commerce Cloud > Clean Cartridges, if you have an empty cartridge folder, the result is :

  • The job is broken
  • You code version on BM is removed
  • Upload is not done

Best

Delete file

Hi
Delete file from sandbox after delete file in idea.

create a wiki

Could you create a wiki for this plugin? You've put a lot of effort into creating this plugin, but the features are not really documented and will probably not be noticed/used. For example I cant even figure out how to sync the cartridges. I see this commerce cloud tab added to webstorm, but I don't see anywhere to enter my credentials or setup a sever connection.

Thanks for the updated plugin, good work!

Add Script Debugger

Since I know this is likely to be requested I'm going to create an issue for it. That being said I've started looking into this and it's going to be slow going on the intellij integration side of things. The SDAPI looks pretty straightforward, however there aren't a lot of clear instructions on how to integrate this into the Intellij platform.

I currently have the following question open with not much help so far.

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360002856819-How-to-get-started-writing-a-custom-js-like-language-script-debugger-

And I also have been told that I may want to use the scriptDebugger built into Intellij as a base, but with no instructions on how to extend or modify it.

https://github.com/JetBrains/intellij-community/tree/master/platform/script-debugger

I'll try to keep this issue update with any information I can come up with in order to get something working, but please know this isn't likely to happen very quickly. Though it would be an amazing feature to have for sure.

update for latest version of webstorm

Can you please make this update for the latest version of the IDE. I updated today and no more plugin :(

WebStorm 2019.1
Build #WS-191.6183.63, built on March 21, 2019
JRE: 1.8.0_202-release-1483-b39 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

Authenication NullPointerException

Not sure the actions needed to replicate this one yet, but here's a stacktrace

java.lang.NullPointerException
	at org.apache.http.impl.auth.HttpAuthenticator.generateAuthResponse(HttpAuthenticator.java:194)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:263)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at com.binarysushi.studio.webdav.StudioUpdateFileTask.run(StudioUpdateFileTask.java:63)
	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:727)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
	at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:403)
	at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

FileNotFound Exception

java.io.FileNotFoundException: C:\Users\andrewt\Documents\Git\sega-genesis\cartridges\int_b2\cartridge\scripts\checkout\UpdateSAPitalyTaxNumber.ds (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.apache.http.entity.FileEntity.writeTo(FileEntity.java:94)
at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:156)
at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:160)
at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:238)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at com.binarysushi.studio.webdav.StudioUpdateFileTask.run(StudioUpdateFileTask.java:110)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:727)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:164)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:582)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:151)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:403)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

proxy issue

Hello ! Awesome job for your plugin, but I have one little issue.

I tried to use the plugin behind the proxy of my work and it doesn't work, do you have any ide of how can I make it work properly ?

We tried, with my admin sys, to see where the problem is, and after some point, we found that it's probably from the plugin, but maybe I didn't enable something like "authorize plugin to use proxy setting" or something like.

(my proxy is working with intellij, I tried to reach my sandbox with the check-connection in proxy settings, and it's work, and I can download plugin etc...)

Feel free to ask me if I did any basic configuration step to enable something related to my problem on intellij, I'm new with this IDE. ๐Ÿ˜„

Thanks !

Idea 2019.3

The plugin does not work on the IntelliJ IDEA 2019.3 Build #IU-193.5233.102

Any chance to update to Idea 2022.3.2

This plugin is amazing. But after changing my computer and having an fresh install of Idea I'm not able to install the plugin anymore.

My colleague has the same Idea version und runs the plugin successfully. But he has started from an older Idea and has used the Idea update mechanism. With this the plugin remains working.

Any chance?

webpack output changed files not getting uploaded

Carrying the discussion from another issue into a new one:

For a project I'm working on, we have webpack being used to take our input js files and output bundles and chunked js files to the static/js directory. It seems that these files are not automatically recognized as being updated by your watcher. I have had SOME luck by after the webpack bundler runs, if you click out of webstorm, and then click back into webstorm, it will trigger the commerce cloud tab to upload the changed files. I hope we can address this as it is basically not usable in this situation for me.

uncaught exceptions

I have experienced several uncaught exception issues in the last day of using the plugin.

So far I have encountered the following uncaught exceptions:

file not found exception
no such element exception
authentication exception (even though its authenticating)

Its unclear yet as to what exactly the cause of these are, but just wanted to open an issue so you are aware there are uncaught exceptions. I will comment if I encounter more and try to give details on when/how these are happening.

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.