Coder Social home page Coder Social logo

sqrtt / bart Goto Github PK

View Code? Open in Web Editor NEW
12.0 9.0 8.0 109 KB

SFCC file uploader & script debugger (SFCC sandboxes via SDAPI 1.0) extension for Atom

Home Page: http://sqrtt.pro/bart

License: MIT License

JavaScript 98.93% CSS 1.07%
demandware extension atom sfcc debugger

bart's Introduction

Bart

Demandware file uploader & script debugger

Out of maintenance (due to lack of time)

Alternative could be VS Code with Prophet

Usage

After installing Bart package, in Atom appear additional item in main menu with same name Bart. This item contain four subitems:

  • Upload all cartridges - actually upload all cartridges to the sandbox (zip, upload and unzip on SB). Currently only first folder in project will be uploaded.
  • Open settings... - Opens configuration of current sandbox like a hostname, username, password, codeversion and list of files that should be watched. Last option is used to watch files that should be uploaded to SB when change by some other program i.e. on build and minify by gulp/grant, and is not opened in IDE. Each file should have absolute path and can end by mask i.e. /.../cartridges/app_core/cartridge/static/default/js/*
  • Open/close debugger - simply toggle debugger's panel.
  • Create new cartridge - Opens a dialog asking user to input the name of the cartridge and the path where cartridge should be created. You can also link/upload the newly created cartridge to DWRE server by using checkbox "Upload cartridge to demandware server". This options will only work when workspace is already connected with DWRE server. You can also import the newly created cartridge into the current workspace by using checkbox "Automatically add newly created......"
  • Toggle Auto-Upload - On switching git branches, Bart Auto Uploads code to the active server. Preference in settings controls that behavior

To start debug you heed to set breakpoint first. To do so, just open file set text cursor in required place and press F9. After breakpoint is set open in browser required page. You will see that page is loading too long. So it's time to press Manual Update button in debugger panel (last button in row). After that you should see stack trace and list of variables. Other buttons should be obvious.

Also in context menu of file/editor you will see two additional items: upload file and toggle breakpoint.

It's recommended to install also language-demandware for syntax highlight of Demandware files.

bart's People

Contributors

alextask avatar ranveer5289 avatar sqrtt avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bart's Issues

Use dwdav

Could this be refactored to use dwdav? It already has most of the features in webdav.js implemented. I'm looking into using yazl in dwdav as well. And I am more than happy to implement/ accept PRs for any features/ options that you want.

Deprecated selector in `Bart/styles/bart.less`

In Bart/styles/bart.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor::shadow .gutter .line-number.bart-stop-line:before => atom-text-editor.editor .gutter .line-number.bart-stop-line:before

  • atom-text-editor::shadow .gutter .line-number.node-debugger-attached-breakpoint => atom-text-editor.editor .gutter .line-number.node-debugger-attached-breakpoint

  • atom-text-editor::shadow .gutter .line-number.bart-breakpoint => atom-text-editor.editor .gutter .line-number.bart-breakpoint

  • atom-text-editor::shadow .bart-breakpoint_active => atom-text-editor.editor .bart-breakpoint_active

Failed to activate the Bart package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.15.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.3
Thrown From: Bart package 1.5.0

Stack Trace

Failed to activate the Bart package

At Cannot find module 'request'

Error: Cannot find module 'request'
    at Module._resolveFilename (module.js:455:15)
    at Module._resolveFilename (/Users/laurencej/Desktop/APP/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /packages/bart-dw/lib/DebuggerConnection.js:11:16)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /packages/bart-dw/lib/Debugger.js:11:27)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /packages/bart-dw/lib/bart.js:16:50)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)

Commands

     -0:49.6.0 application:add-project-folder (input.hidden-input)
     -0:39.6.0 bart:openConfig (input.hidden-input)
     -0:30.7.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

atom-beautify 0.29.17 
Bart 1.5.0 

Couldn't use Bart anymore

After updating to 1.8.0 all errors were gone, and that version worked for me for a little bit.
It randomly uploaded files after saving, until stopped working. Wanted to go back to 1.6.0 which is the one that I have on my desktop but is not compatible with the newest version of atom.
Please let me know what can I do to help.
That Bart plug in was amazing and it's the only one available for atom

While debugging a Demandware script the following exception happened

  1. Enabled debug and breakpoint in a custom Demandware script (.ds)
  2. Script was connecting to a remote service to fetch ratings.
  3. Exception help dialog showed up and asked to create an issue, So I did. Let me know if you need more information.

Atom Version: 1.9.9
System: Microsoft Windows 10 Pro
Thrown From: Bart package, v1.2.3

Stack Trace

Uncaught TypeError: this.props.thread.getMembers is not a function

At C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\ReactErrorUtils.js:52

TypeError: this.props.thread.getMembers is not a function
    at toggleOpened (C:/Users/Rajendra.Alapaty/.atom/packages/bart/lib/DebuggerView.js:46:31)
    at Object.invokeGuardedCallback (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\ReactErrorUtils.js:26:12)
    at executeDispatch (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\EventPluginUtils.js:89:21)
    at Object.executeDispatchesInOrder (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\EventPluginUtils.js:112:5)
    at executeDispatchesAndRelease (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\EventPluginHub.js:44:22)
    at executeDispatchesAndReleaseTopLevel (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\EventPluginHub.js:55:10)
    at Array.forEach (native)
    at forEachAccumulated (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\forEachAccumulated.js:25:9)
    at Object.EventPluginHub.processEventQueue (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\EventPluginHub.js:229:7)
    at runEventQueueInBatch (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\ReactEventEmitterMixin.js:18:18)
    at Object.ReactEventEmitterMixin.handleTopLevel [as _handleTopLevel] (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\ReactEventEmitterMixin.js:29:5)
    at handleTopLevelImpl (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\ReactEventListener.js:73:24)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\Transaction.js:138:20)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\ReactDefaultBatchingStrategy.js:63:19)
    at Object.batchedUpdates (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\ReactUpdates.js:98:20)
    at ReactEventListener.dispatchEvent (C:\Users\Rajendra.Alapaty\.atom\packages\Bart\node_modules\react\lib\ReactEventListener.js:150:20)

Commands

     -4:01.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
     -3:49.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -3:45.1.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -3:43.1.0 core:undo (atom-text-editor.editor.is-focused)
     -3:41.4.0 core:select-down (atom-text-editor.editor.is-focused)
     -3:41 core:select-up (atom-text-editor.editor.is-focused)
  2x -3:40.3.0 core:backspace (atom-text-editor.editor.is-focused)
     -3:38.8.0 core:save (atom-text-editor.editor.is-focused)
  2x -2:21 bart:toggleDebugger (atom-text-editor.editor.is-focused)
     -2:16.7.0 bart:toggleBreakpoint (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
Bart, v1.2.3 (active)
git-history, v3.2.0 (inactive)
language-demandware, v0.1.0 (active)
atom-dark-syntax, v0.27.0 (active)
atom-dark-ui, v0.51.0 (active)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.43.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.3.2 (inactive)
one-light-ui, v1.3.2 (inactive)
one-dark-syntax, v1.2.0 (inactive)
one-light-syntax, v1.2.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.2 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.0 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.0 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.39.0 (active)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
find-and-replace, v0.198.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.1 (active)
metrics, v0.53.1 (active)
notifications, v0.64.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.238.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.1 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.98.1 (active)
timecop, v0.33.1 (active)
tree-view, v0.208.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.32.2 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.0 (active)
language-csharp, v0.12.1 (active)
language-css, v0.36.2 (active)
language-gfm, v0.86.0 (active)
language-git, v0.13.0 (active)
language-go, v0.42.0 (active)
language-html, v0.44.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.22.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.0 (active)
language-less, v0.29.3 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.0 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.68.5 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.52.0 (active)
language-shellscript, v0.22.3 (active)
language-source, v0.9.0 (active)
language-sql, v0.21.1 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.8 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Uncaught TypeError: Cannot read property 'isVisible' of undefined

[Enter steps to reproduce:]

  1. Just tried to open my Bart settings this morning
  2. And got that error. Doesn't allow me to use Bart

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: Bart package 1.6.0

Stack Trace

Uncaught TypeError: Cannot read property 'isVisible' of undefined

At /Users/josecassany/.atom/packages/Bart/lib/bart.js:380

TypeError: Cannot read property 'isVisible' of undefined
    at /packages/Bart/lib/bart.js:380:30)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/app.asar/src/atom-environment.js:1179:28)
    at EventEmitter.outerCallback (/app.asar/src/application-delegate.js:312:25)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -0:14.4.0 bart:openConfig (input.hidden-input)

Non-Core Packages

atom-beautify 0.29.24 
atom-ternjs 0.18.3 
Bart 1.6.0 
busy-signal 1.4.1 
close-tags 0.6.0 
intentions 1.1.2 
language-demandware 0.1.0 
linter 2.1.4 
linter-ui-default 1.2.4 
linter-xo 0.23.0 
minimap 4.28.2 

Bart incompatible native modules error

Bart stopped working for me the other day, and I am noticing this error in the dev console.

Failed to require the main module of 'Bart' because it requires one or more incompatible native modules (binding, binding, binding, binding, binding, binding). Run apm rebuild in the package directory and restart Atom to resolve. module.exports.Package.requireMainModule @ <embedded>:70095

I tried running apm rebuild but unfortunately it does not fix the issue.

Currently on 1.19.4 x64 MacOS.

Bart doesn't open anymore to edit settings

Hey SqrTT,

thanks a lot for your amazing work. It helps me a lot.
In 1.21.1 i can't open the Menu anymore
bildschirmfoto 2017-10-23 um 13 22 01

I've reinstalled atom but nothing happens. The Open-settings menu will not open.

What can i do?

Many greets from Berlin,
Pepo

Internal Server Error

I have met this error when trying to upload file to sand box, all config for my sand box are correct.

This is the log:
Uncaught (in promise) Error: Notification must be created with string message: Error: Internal Server Error(…) module.exports.Notification.validate @ notification.coffee:17 Notification @ notification.coffee:13 module.exports.NotificationManager.addError @ notification-manager.coffee:132 (anonymous function) @ /home/an/.atom/packages/Bart/lib/bart.js:267 _tickCallback @ internal/process/next_tick.js:103

Repository Maintenance

Hi, thanks first of all for the excellent work done for this extension of Atom but please someone can keep the repository maintenance? I've been working with Demandware for almost a year, and I do not want Bart to work with future SFCC releases. I do not want to change IDE, like Visual Studio Code to have Bart updated !.

If the same things are done by Prophet (even with great improvements) because you can not carry the work done initially here. If you need a donation to continue the maintenance write to [email protected].

Thank you.

Uncaught TypeError: value is out of bounds

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.3
System: Mac OS X 10.10.3
Thrown From: Bart package, v1.1.0

Stack Trace

Uncaught TypeError: value is out of bounds

At buffer.js:825

TypeError: value is out of bounds
    at checkInt (buffer.js:825:11)
    at Buffer.writeUInt16LE (buffer.js:883:5)
    at getEndOfCentralDirectoryRecord (/Users/adamclason/.atom/packages/Bart/node_modules/yazl/index.js:220:10)
    at pumpEntries (/Users/adamclason/.atom/packages/Bart/node_modules/yazl/index.js:185:33)
    at ByteCounter.<anonymous> (/Users/adamclason/.atom/packages/Bart/node_modules/yazl/index.js:142:5)
    at emitNone (events.js:72:20)
    at ByteCounter.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:905:12)
    at doNTCallback2 (node.js:465:9)
    at process._tickCallback (node.js:379:17)

Commands

Config

{}

Installed Packages

# User
Bart, v1.1.0

# Dev
No dev packages

Uncaught Error: file data stream has unexpected number of bytes

[Enter steps to reproduce below:]

  1. Change branches (triggering a zip upload process form Bart)
  2. Changes branches again (before the first zip finishes doing it's thing)

Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: Bart package, v1.2.3

Stack Trace

Uncaught Error: file data stream has unexpected number of bytes

At events.js:141

Error: file data stream has unexpected number of bytes
    at ByteCounter.<anonymous> (/Users/aaronvanderpoel/.atom/packages/Bart/node_modules/yazl/index.js:136:99)
    at emitNone (events.js:72:20)
    at ByteCounter.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:905:12)
    at doNTCallback2 (node.js:465:9)
    at process._tickCallback (node.js:379:17)

Commands

     -1:54 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -1:54 core:cancel (atom-text-editor.editor.is-focused)
     -1:53.3.0 editor:consolidate-selections (atom-text-editor#bart-password.mini.editor.bart-password.is-focused)
     -1:53.3.0 core:cancel (atom-text-editor#bart-password.mini.editor.bart-password.is-focused)
     -1:46.4.0 core:save (atom-text-editor.editor.is-focused.autocomplete-active)
     -1:45.5.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -1:45.5.0 core:cancel (atom-text-editor.editor.is-focused)
     -1:44.8.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -1:44.8.0 core:cancel (atom-text-editor.editor.is-focused)
     -1:42.8.0 core:save (atom-text-editor.editor.is-focused)
     -1:37 core:paste (atom-text-editor#bart-password.mini.editor.bart-password.is-focused)
     -1:32 core:move-left (atom-text-editor.editor.is-focused)
     -1:31.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:31.2.0 core:save (atom-text-editor.editor.is-focused)
     -1:30.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:29.7.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "linter-jslint",
      "seti-icons",
      "file-type-icons"
    ],
    "themes": [
      "atom-material-ui",
      "atom-material-syntax"
    ]
  }
}

Installed Packages

# User
Bart, v1.2.3
atom-beautify, v0.29.9
atom-material-syntax, v0.4.6
atom-material-ui, v1.2.13
atom-ternjs, v0.14.2
custom-invisibles, v0.1.2
emmet, v2.4.3
file-icons, v1.7.16
highlight-selected, v0.11.2
language-demandware, v0.1.0
linter, v1.11.14
linter-eslint, v7.2.4
linter-jshint, v2.1.0
linter-json-lint, v0.1.1
minimap, v4.24.7
pigments, v0.31.0
react, v0.15.0
tab-length, v0.1.0
terminal-plus, v0.14.5

# Dev
No dev packages

Uncaught TypeError: Bart.progressMsg.clear is not a function

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: Bart package 1.7.0

Stack Trace

Uncaught TypeError: Bart.progressMsg.clear is not a function

At /Users/josecassany/.atom/packages/Bart/lib/bart.js:353

TypeError: Bart.progressMsg.clear is not a function
    at Object.uploadAll (/packages/Bart/lib/bart.js:353:30)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/app.asar/src/atom-environment.js:1179:28)
    at EventEmitter.outerCallback (/app.asar/src/application-delegate.js:312:25)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

  2x -1:04.4.0 bart:uploadAll (div.panels-item)

Non-Core Packages

Bart 1.7.0 

Setting breakpoints in debugger fails on Windows

On Windows, creating a breakpoint sends the following request to the API:
{"breakpoints":[{"line_number":88,"script_path":"\\app_storefront_core\\cartridge\\scripts\\filename.ds"}]}

The debugger is responding with this error:
{"_v":"1.0","fault":{"type":"InvalidScriptPathException","message":"Script Path must start with a forward slash '/'."}}

Code Upload Doesn't work on OSX

On OSX when I try to upload file I get below error

Uncaught (in promise) Error: Notification must be created with string message: Error: Internal Server Error(…)module.exports.Notification.validate @ /Applications/Atom.app/Contents/Resources/app.asar/src/notification.js:25Notification @ /Applications/Atom.app/Contents/Resources/app.asar/src/notification.js:20module.exports.NotificationManager.addError @ /Applications/Atom.app/Contents/Resources/app.asar/src/notification-manager.js:41(anonymous function) @ bart.js:228_tickCallback @ node.js:392

screen shot 2016-05-18 at 22 07 29

I am using latest version of Bart & I installed it using apm install bart.

When I enter all my details in Open Settings dialog, I don't get any error. I guess it got authenticated successfully.

My project structure is as follow. I have directly added the cartridge in atom workspace.

screen shot 2016-05-18 at 22 06 14

Bart deprecation Atom version 1.19.0

Hi Here is the issue i have trying to use bart :/

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

atom-text-editor::shadow .gutter .line-number.bart-stop-line:before => atom-text-editor.editor .gutter .line-number.bart-stop-line:before
atom-text-editor::shadow .gutter .line-number.node-debugger-attached-breakpoint => atom-text-editor.editor .gutter .line-number.node-debugger-attached-breakpoint
atom-text-editor::shadow .gutter .line-number.bart-breakpoint => atom-text-editor.editor .gutter .line-number.bart-breakpoint
atom-text-editor::shadow .bart-breakpoint_active => atom-text-editor.editor .bart-breakpoint_active
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Is there a way to fix that on my side or do a fix / update will come ?

Thanks a lot

Uncaught Error: Repository has been destroyed

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.3
System: Ubuntu 14.04.4
Thrown From: Bart package, v1.1.0

Stack Trace

Uncaught Error: Repository has been destroyed

At /home/sqrtt/.atom/packages/Bart/lib/bart.js:250

Error: Repository has been destroyed
    at GitRepository.module.exports.GitRepository.getRepo (/opt/atom/resources/app.asar/src/git-repository.js:369:15)
    at GitRepository.module.exports.GitRepository.getShortHead (/opt/atom/resources/app.asar/src/git-repository.js:175:19)
    at /home/sqrtt/.atom/packages/Bart/lib/bart.js:59:40

Commands

     -0:56.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.1.0 tree-view:remove-project-folder (span.name.icon.icon-file-directory)

Config

{
  "core": {
    "disabledPackages": [
      "open-on-github",
      "ascii-art",
      "vim-mode",
      "atom-typescript",
      "linter",
      "jshint",
      "linter-flow",
      "ide-flow",
      "linter-flow-plus",
      "git-control",
      "activate-power-mode",
      "turbo-javascript",
      "node-debugger",
      "atom-jasmine"
    ],
    "themes": [
      "one-dark-ui",
      "solarized-dark-syntax"
    ]
  }
}

Installed Packages

# User
Bart, v1.1.0
Quick-JavaScript, v0.16.0
atom-jshint, v2.0.0
atom-ternjs, v0.14.1
autoclose-html, v0.23.0
autocomplete-html-entities, v0.1.0
docblockr, v0.7.3
flow, v0.5.3
language-demandware, v0.1.0
language-javascript-semantic, v0.2.1
linter-eslint, v7.2.2
linter-jscs, v4.0.0
minimap, v4.23.5
minimap-cursorline, v0.1.0
pigments, v0.26.2

# Dev
No dev packages

Uncaught Error: Cannot read property 'object' of undefined TypeError: Cannot read property 'object' of undefined at ObjectsRegistry.get (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\browser\objects-registry.js:44:28) at EventEmitter. (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\browser\rpc-server.js:309:31) at emitMany (events.js:121:13) at EventEmitter.emit

Atom Version: 1.10.0
Electron Version: 0.37.8
System: Microsoft Windows 10 Pro
Thrown From: Atom Core

Stack Trace

Uncaught Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
at ObjectsRegistry.get (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\browser\objects-registry.js:44:28)
at EventEmitter. (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\browser\rpc-server.js:309:31)
at emitMany (events.js:121:13)
at EventEmitter.emit (events.js:195:7)
at EventEmitter. (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\browser\api\web-contents.js:141:25)
at emitTwo (events.js:100:13)
at EventEmitter.emit (events.js:185:7)

At C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\renderer\api\remote.js:178

Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
    at ObjectsRegistry.get (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\browser\objects-registry.js:44:28)
    at EventEmitter.<anonymous> (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\browser\rpc-server.js:309:31)
    at emitMany (events.js:121:13)
    at EventEmitter.emit (events.js:195:7)
    at EventEmitter.<anonymous> (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\browser\api\web-contents.js:141:25)
    at emitTwo (events.js:100:13)
    at EventEmitter.emit (events.js:185:7)
    at metaToValue (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\renderer\api\remote.js:178:13)
    at undefined.remoteMemberFunction (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\electron.asar\renderer\api\remote.js:112:18)
    at AtomEnvironment.module.exports.AtomEnvironment.getWindowDimensions (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\app.asar\src\atom-environment.js:636:29)
    at AtomEnvironment.module.exports.AtomEnvironment.storeWindowDimensions (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\app.asar\src\atom-environment.js:670:36)
    at WindowEventHandler.module.exports.WindowEventHandler.handleWindowBlur (C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\app.asar\src\window-event-handler.js:182:35)
    at C:\Users\Rajendra.Alapaty\AppData\Local\atom\app-1.10.0\resources\app.asar\src\window-event-handler.js:3:61

Commands

     -0:08.6.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
     -0:08.2.0 core:paste (atom-text-editor.editor.mini.is-focused)
     -0:06.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  },
  "editor": {
    "fontSize": 16
  }
}

Installed Packages

# User
Bart, v1.2.3 (active)
git-history, v3.2.0 (inactive)
language-demandware, v0.1.0 (active)
atom-dark-syntax, v0.27.0 (active)
atom-dark-ui, v0.52.0 (active)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.5.0 (inactive)
one-light-ui, v1.5.0 (inactive)
one-dark-syntax, v1.3.0 (inactive)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.3 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.39.0 (active)
find-and-replace, v0.201.0 (active)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (active)
grammar-selector, v0.48.1 (active)
image-view, v0.58.2 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v0.53.1 (active)
notifications, v0.65.0 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.241.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.100.2 (active)
timecop, v0.33.2 (active)
tree-view, v0.208.2 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Debugger enhancement request

As the title suggest, will you be able to enhance in the near future the debugger window to use the new dock element ? Also, having it stuck at the bottom can be annoying when you have a big object opened, so the ability to set it sideways so the code can be fully visible would be awesome.

Use `dw.json` instead for options

Instead of having local options stored in Atom, could this support the use of dw.json, which is a file that would contain the same information (hostname, username and password). This way, each project (or directory for that matter) could have its own configuration?

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.