Ben

Avatar
  • Total activity 14
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 2
  • Subscriptions 4
  • Edited

    Refactoring JavaScript Barrel File

    Answered
    test.jsconst {bar, foo} = require('./group1'); const {oof, rab} = require('./group2'); foo(); bar(); oof(); rab();group1/index.jsconst bar = require('./bar') const foo = require('./foo') module.e...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    AWS Lambda with Layer Imports

    I have a project with AWS Lambdas that share an AWS Lambda Layer. When I import functions from the Layer, IntelliJ isn't able to find the source and provide intellisense. IntelliJ could look at th...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    JSX formatting issue - Spaces are removed in some cases

    I found an issue with the code formatter and JSX.  This is the state before formatting. import React from 'react';class Sample extends React.Component { render() { return ( <di...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Reformat Code Option. Sort by function names.

      Ext.regController("dashboard", {        goToShoppingCart:function() {            Ext.dispatch({               controller:"shoppingCart",               action:"loadCart"             });        }, ...
    • 2 followers
    • 2 comments
    • 0 votes