Git Product home page Git Product logo

codeeditor's Introduction

Macaw

Macaw - Code Editor in Swift

Macaw Editor is a code editor specially designed for ease of use, without all the bloat of an average IDE.

A ideal editor which is lightweight and opens fast!

Check out the Roadmap towards a new version.

Light theme

Screenshot

Dark theme

Screenshot

Shortcuts

Shortcut Description
⌘+N New file
⌘+O Open folder
⌘+B Open in Browser
⌘+S Save file
⌘+F Find in file
⌘+D Duplicate line
⌘+L Delete line
⌘+Bck Delete to Begin of Line
⌘+Del Delete to End of Line
⌘+Up Move line Up
⌘+Dn Move line down

codeeditor's People

Contributors

0xwdg avatar gaetandezeiraud avatar joannis avatar kuyawa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

codeeditor's Issues

env: node: No such file or directory

The error [17/5/2019 18:44.49] env: node: No such file or directory.

The problem has to do with the path.

I don't now how to read the path.

the code.

                else if FileManager.default.fileExists(
                    atPath: filePath + "/package.json"
                    ) {
                    let retVal = Utils.shell(
                        launchPath: "/usr/bin/env",
                        arguments: ["/usr/local/bin/npm", "-v", "install", "-C", viewController.filer.root.path]
                    )
                    
                    viewController.appendToConsole(retVal)
                }

improved and fixed code

                // NodeJS - npm
                else if FileManager.default.fileExists(
                    atPath: filePath + "/package.json"
                    ) {
                    let retVal = Utils.shell(
                        launchPath: "/usr/bin/env",
                        arguments: [
                            // Open bash (the trick to remove the "env: node: No such file or directory." error)
                            "/bin/bash",
                            // Force path to npm (hopefully everyone installs it using homebrew.
                            "/usr/local/bin/npm",
                            // @Brouilles original code.
                            "-v",
                            "install",
                            "-C",
                            viewController.filer.root.path
                        ]
                    )
                    
                    viewController.appendToConsole(retVal)
                }

@Brouilles can you please test it.
I get a build error.

Welcome to Macaw!
 [17/5/2019 18:47.24] /usr/local/bin/npm: line 2: syntax error near unexpected token `;'
 /usr/local/bin/npm: line 2: `;(function () { // wrapper in case we're in module_context mode'

Roadmap to 1.5

Version 1.5

  • enable console (inline console window)
  • build (build directly from the editor)
  • show images in image viewer

Version 2.0:

  • show pdf in pdf viewer
  • on error. (show errors and allow user to jump to file and line)
  • research quick view functionality

Weekly Digest (14 January, 2020 - 21 January, 2020)

Here's the Weekly Digest for wdg/CodeEditor:


ISSUES

Last week, no issues were created.


PULL REQUESTS

Last week, no pull requests were created, updated or merged.


COMMITS

Last week there were no commits.


CONTRIBUTORS

Last week there were no contributors.


STARGAZERS

Last week there were no stargazers.


RELEASES

Last week there were no releases.


That's all for last week, please 👀 Watch and Star the repository wdg/CodeEditor to receive next weekly updates. 😃

You can also view all Weekly Digests by clicking here.

Your Weekly Digest bot. 📆

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.