question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vs plugin 1.3.1 not working suddenly

See original GitHub issue

I make extension.autoUpdate:true, so I don’t know when it happened. .prettierrc not working, config fields in workspace settings or user settings all down, but other config fields in user settings worked fine, so I think prettier-vscode didn’t startup.

vs code: 1.23.0 prettier-vscode: 1.3.1

I have tried:

  1. uninstall/reinstall prettier-vscode
  2. uninstall prettier-vscode, quit vscode, del ~/.vscode/extensions/esbenp.prettier-vscode-1.3.1, start vscode, install prettier-vscode, reload
  3. disable some other plugin may infect prettier-vscode.

any tips? I can not work now, any save will format js file to a strange style like follows

const Web3 = require('web3')
  const fs = require('fs')

    const abi = JSON.parse(fs.readFileSync('./abi.json'))
      const abi1 = JSON.parse(fs.readFileSync('./abi.1.json'))
        const _ = require('lodash')

          process.on('unhandledRejection', error => {
            console.error(`unhandledRejection ${error.message}, ${error.stack}`)
          })
          // var web3 = new Web3(new
          // Web3.providers.WebsocketProvider('ws://localhost:28546')) const web3 = new
          // Web3('http://localhost:28545')
          const web3 = new Web3('http://localhost:28545')
            // const web3 = new Web3('https://mainnet.infura.io/') const
            // web3 = new Web3('https://api.myetherapi.com/eth')
            const BN = web3.utils.BN

              const abiDecoder = require('abi-decoder')
                abiDecoder.addABI(abi)
                abiDecoder.addABI(abi1)

                const InputDataDecoder = require('ethereum-input-data-decoder')
                  const decoder = new InputDataDecoder(abi)

                    const getHashByBlockNumber = async number => {
                        const block = await web3
                          .eth
                          .getBlock(number)
                        return {hash: block.hash, transactions: block.transactions}
                      }
                      const unknown = [],
                        errorTx = []

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

65reactions
sebastiendavidcommented, May 4, 2018

I deactivated Beautify plugin (https://marketplace.visualstudio.com/items?itemName=HookyQR.beautify) and now it works again.

5reactions
patikcommented, May 4, 2018

I added "beautify.ignore": ["*.js"] to my user settings and it did the trick for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't resolve plugins from plugin repository after Gradle 4.3 ...
When running my build, plugins declared in the plugins closure should be resolved from the Gradle Plugins Repository.
Read more >
Plugin does not respond. - WordPress.org
Hello. I noticed that suddenly plugin stopped issuing invoices for some reason. I've read on your Troubleshooting that it may be caused by ......
Read more >
An exception occurred applying plugin request [id
Android Gradle Plugin 7 requires Java 11. Go to File > Project Structure and change JDK location to Embedded JDK .
Read more >
Why does my Maven build suddenly fail? - Ted Vinke's Blog
It seems that the maven-jaxb2-plugin –we use for JAXB to generate java sources for a certain schema–suddenly triggers a (missing or ...
Read more >
Bug listing with status RESOLVED with resolution FIXED as at ...
... Bug:157 - "freetype-1.3.1 dependency conflict" status:RESOLVED ... version problems (3.0 vs 3.0.1)" status:RESOLVED resolution:FIXED severity:normal ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found