panel(noGrid, flowY) {
add(saveOnDisk)
add(rememberPasswordsUntilClosing)
}panel(noGrid, flowY) {
add(editors.get(0).component)| Internal error. Please report to http://jb.gg/ide/critical-startup-errors | |
| java.lang.NoSuchFieldError: ENABLED | |
| at com.intellij.configurationStore.StateStorageManagerImpl.addMacro(StateStorageManagerImpl.kt:408) | |
| at com.intellij.configurationStore.ApplicationStoreImpl.setPath(ApplicationStoreImpl.kt:47) | |
| at com.intellij.openapi.application.impl.ApplicationImpl$11.run(ApplicationImpl.java:480) | |
| at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:101) | |
| at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:458) | |
| at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:450) | |
| at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:194) |
| declare module 'electron-builder/out/awaiter' { | |
| function tsAwaiter(thisArg: any, _arguments: any, ignored: any, generator: Function): any | |
| } | |
| declare module 'electron-builder/out/promisifed-fs' { | |
| import * as fs from "fs" | |
| import { Promise as BluebirdPromise } from "bluebird" | |
| function readText(file: string): BluebirdPromise<string> |
| Index: cli.js | |
| IDEA additional info: | |
| Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
| <+>UTF-8 | |
| =================================================================== | |
| --- cli.js (date 1454269165000) | |
| +++ cli.js (revision ) | |
| @@ -52,6 +52,7 @@ | |
| // Leave --watch and --sources undocumented until they're stable enough | |
| // ' --watch, -w Re-run tests when tests and source files change', |
| declare module "image-size" { | |
| interface ImageInfo { | |
| width: number | |
| height: number | |
| type: string | |
| } | |
| function sizeOf(path: string, callback: (error: Error, dimensions: ImageInfo) => void): void | |
| export = sizeOf |
| # docker run -ti --rm -v `pwd`:/tmp/nsis buildpack-deps:trusty | |
| # no luck to build using debian wheezy, so, we use ubuntu trusty | |
| apt-get update -y && apt-get install --no-install-recommends -y mingw32 mingw64 unzip | |
| mkdir -p /tmp/scons && curl -L http://prdownloads.sourceforge.net/scons/scons-local-2.5.0.tar.gz | tar -xz -C /tmp/scons | |
| mkdir -p /tmp/nsis && curl -L http://downloads.sourceforge.net/project/nsis/NSIS%203%20Pre-release/3.0rc1/nsis-3.0rc1-src.tar.bz2 | tar -xj -C /tmp/nsis --strip-components 1 && cd /tmp/nsis | |
| python /tmp/scons/scons.py STRIP=0 SKIPUTILS=all NSIS_CONFIG_CONST_DATA_PATH=no makensis dist-zip | |
| mkdir bin && mv build/urelease/makensis/makensis bin/makensis |
| ``` | |
| <facet type="web" name="stacktraces"> | |
| <configuration> | |
| <webroots> | |
| <root url="file://$MODULE_DIR$/resources/buildServerResources" relative="/plugins/stacktraces" /> | |
| </webroots> | |
| </configuration> | |
| </facet> | |
| ``` |
panel(noGrid, flowY) {
add(saveOnDisk)
add(rememberPasswordsUntilClosing)
}panel(noGrid, flowY) {
add(editors.get(0).component)| I recommend you to migrate your data and follow target (NSIS or Squirrel.Windows) conventions. | |
| Squirrel.Windows — handle `--squirrel-install` and perform migration. If Squirrel.Windows will clear directory before this event, I can fix it for you. |
Use panel to create UI:
panel(fillX) {
// child components
}There are two ways to add child components:
label, button, radioButton, hint, link, note, panel, etc. It allows you to create consistent UI and reuse common patterns (for example, note automatically adds required top gap).
| java.lang.Exception: Errors in the log file: | |
| 2016-09-25 18:22:02,924 [ 30639] ERROR - rationStore.ComponentStoreImpl - Cannot read scheme from /colorSchemes/Xcode.xml | |
| org.picocontainer.defaults.CyclicDependencyException: Cyclic dependency: [class com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl] | |
| at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:48) | |
| at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) | |
| at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:58) | |
| at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:228) | |
| at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:238) | |
| at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(De |