Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 15 23:44
    ikeh commented #661
  • May 15 23:44

    dependabot[bot] on npm_and_yarn

    (compare)

  • May 15 23:44

    dependabot[bot] on npm_and_yarn

    (compare)

  • May 15 23:44

    dependabot[bot] on npm_and_yarn

    (compare)

  • May 15 23:44

    dependabot[bot] on npm_and_yarn

    (compare)

  • May 15 23:44

    dependabot[bot] on npm_and_yarn

    (compare)

  • May 15 23:44

    dependabot[bot] on npm_and_yarn

    (compare)

  • May 15 23:44
    dependabot[bot] commented #665
  • May 15 23:44
    dependabot[bot] commented #664
  • May 15 23:44
    dependabot[bot] commented #663
  • May 15 23:44
    basarat closed #665
  • May 15 23:44
    dependabot[bot] commented #661
  • May 15 23:44
    basarat closed #664
  • May 15 23:44
    dependabot[bot] commented #658
  • May 15 23:44
    dependabot[bot] commented #656
  • May 15 23:44
    basarat closed #663
  • May 15 23:44
    basarat closed #661
  • May 15 23:44
    basarat closed #658
  • May 15 23:44
    basarat closed #656
  • Apr 08 22:52
    ikeh commented #665
Jari Pennanen
@Ciantic
clearly alsot the mobx creator kept the TS as a implementation detail, it's literally not mentioned in docs or the readme, probably to encourage JS peeps to use it :)
well, there is a only small mention in the docs
apparently the author seems to go as far as allowing untyped pull requests
Basarat Ali Syed
@basarat
🌹
Matthew Wilson
@diakopter
@basarat do you have a suggestion for how to add a preprocessor hook to an alm buffer? That is, let's say I'd like to put some Ohm.js grammar/parser in one window that will output normal TypeScript to another file/window
Basarat Ali Syed
@basarat
@diakopter this is one possible location where you can customize the output : https://github.com/alm-tools/alm/blob/master/src/server/disk/fileModel.ts#L107-L114
That code is cleaning up for .editorconfig before writing to disk. But keeping the in memory version of the contents unchanged
Another location : https://github.com/alm-tools/alm/blob/master/src/server/workers/lang/modules/building.ts#L48 Here we get the .js for a .ts file :rose:
Matthew Wilson
@diakopter
I'm curious; have you seen Ohm's editor? https://ohmlang.github.io/editor/ I'm looking at making some macro system for TypeScript using a grammar written in Ohm. I previously wrote something similar for JavaScript (in 2009) using OMeta (its predecessor). It would be nice to use your editor as a basis for my macro system, just so I can see the formatted/checked output. I think for now I can just use them in separate windows.
Matthew Wilson
@diakopter
@basarat I'm getting an error when I try Ctrl-m
Basarat Ali Syed
@basarat
@diakopter what error? :rose:
Matthew Wilson
@diakopter
Conflict detected, command editor.action.jumpToBracket cannot be triggered by ctrl+m due to editor.action.toggleTabFocusModeKeybindingResolver._addKeyPress @ keybindingResolver.ts:190
Matthew Wilson
@diakopter
@basarat also getting another error trying npm run alm: ERROR in ./~/source-map-support/source-map-support.js
Module not found: Error: Cannot resolve module 'module' in C:\Users\user\src\alm\node_modules\source-map-support
@ ./~/source-map-support/source-map-support.js 464:17-34
Basarat Ali Syed
@basarat
its a bug in source-map-support alm-tools/alm#330 hoping for it to fix itself
^ external pacakge
Basarat Ali Syed
@basarat
^ fixed with
Released with 2.10.0 🌹
Matthew Wilson
@diakopter
cool
Matthew Wilson
@diakopter
@basarat I'm still getting that Ctrl-m error: Conflict detected, command editor.action.rename cannot be triggered by f2 due to editor.action.renameVariable
KeybindingResolver._addKeyPress @ :4444/vs/editor/editor.main.js:59007
Basarat Ali Syed
@basarat
@diakopter resolved the conflicts as well in 2.15.0 :rose:
Matthew Wilson
@diakopter
++
Matthew Wilson
@diakopter
@basarat have you thought about integrating with https://angularclass.github.io/angular2-webpack-starter/
Matthew Wilson
@diakopter
alm isn't mentioned under "Use a TypeScript-aware editor"
James Salamon
@lorezzed
I'm trying to use monaco [https://github.com/Microsoft/monaco-editor#installing] in my webpack project but the package can't be found so this doesn't work:
import * as monaco from 'monaco-editor'
do I have to change the path, or am I going about this the wrong way?
Matthew Wilson
@diakopter
@basarat latest doesn't install with node v7.4.0, npm v4.1.2, tsc 2.2.0-dev.20170124
Gaël Marziou
@gmarziou

Hi, I'm a developer of JHipster: a yeoman generator that combines java on server and angular on client.
Please, I need some help with alm: it's working fine on a project generated by angular-cli but freezes on a project generated by JHipster.
My env is Windows 10, node 6.9.2, yarn 0.19.1, tsc 2.1.4.

I suppose it is specific to our project structure where ng2 source is in src/main/webapp but I don't know how to debug this.
Here is a repo of such a generated project: https://github.com/gmarziou/demo-alm

Sorry if this is not the right place for such questions
alm -o
Version: 2.26.0
DASHBOARD: (launched in browser) http://localhost:4444
TSCONFIG: All Good! E:/projets/demo-alm/tsconfig.json
[TSC] Started Initial Error Analysis: E:/projets/demo-alm/tsconfig.json
[LINT] About to start linting files:  112
[LINT] Lint complete 6s
then nothing happens, the window browser gets dark without any error in console
Gaël Marziou
@gmarziou

I have improved the situation by adding this to tsconfig.json:

    "include": [
        "src/main/webapp",
        "src/test/javascript"
    ]

So now, I can interact with the UI in browser but when I click on file tree, it keeps loading forever.

Pascal GANAYE
@paganaye
I got a problem running alm for the first time.
I am using Linux Mint
node 7.5.0
sudo npm i alm -g
worked fine
however
pascal@MCN-L5045 ~/Code/eval3 $ alm -i
/usr/local/lib/node_modules/alm/src/server/workers/lang/core/simpleValidator.js:34
if (!validValues.some(function (valid) { return valid.toLowerCase() === value_1.toLowerCase(); })) {
^
TypeError: value_1.toLowerCase is not a function
at /usr/local/lib/node_modules/alm/src/server/workers/lang/core/simpleValidator.js:34:105
Basarat Ali Syed
@basarat
@paganaye seems like an issue with tsconfig validation. Lets continue the discussion here : alm-tools/alm-tools.github.io#4 :rose:
Pascal GANAYE
@paganaye
This is a good place for discussion here.
I believe you found the issue. Any progress?
Pascal GANAYE
@paganaye
IYour effort to make the source centre stage is impressive
Basarat Ali Syed
@basarat
:rose:
Have you tried to figure out the formatting in TS?
I think it's not doable in that code base, but something like alm's
prettier/prettier#13 <-- this I suspect is not doable
I see that alm has checked the TS formatting, but I think the question is how enforcing is it. Prettier exepects to do everything, unlike most formatters.
Jari Pennanen
@Ciantic
well I name dropped you on that issue :) I hope you don't mind
Arnold Yoo
@arnoldyoo
@basarat hello ~ i joined this room right now, i am a user alm-tools! can i make sourcecode preview service using alm-tools ?? like code mirror.
Jari Pennanen
@Ciantic
that sounds something Alm is good at. The license is MIT https://github.com/alm-tools/alm/blob/master/LICENSE it should be fine, but I would still attribute and link to codebase
Sean Vreeland
@seanvree
Hey guys, have a quick qustion. I'm pretty noob with alm, so go easy
using ALM on windows10 X64