Giter Club home page Giter Club logo

chrome-extension's Introduction

Datadog acquired Codiga. This repository is no longer active.

Chrome Web Store

Codiga for Chrome: Code Snippets in your Browser

This is the Codiga Chrome extension. Create, search and use code snippets within your browser. Find code snippets from your account or from the Codiga Hub.

Installation

This extension is available on the Chrome Web Store where you can install it by clicking "Add to Chrome".

Features

This extension links features from our Coding Assistant and Hub right to your browser.

  1. Quickly save/create a snippet found online
  2. Search through our and/or your catalogue of code snippets.

Creating a Snippet

After you install the plugin, you will have an item named "Create Codiga Snippet" in the context menu of your browser whenever you right-click a selection in any page.

Once clicked, we'll redirect you to Codiga where you can customize your code snippet before saving.

Later, you can visit all your snippets on Codiga. Here you can manage your snippets, create more, or even start putting related snippets in a cookbook together.

Don't forget to browse Codiga's Hub to see what other's have created. You might even find some inspiration out of what other's have posted.

Searching for Snippets

Once installed, when you are on a designated page (GitHub, GitLab, Bitbucket, Replit, StackOverflow), you can open the Codiga Code Snippet Search panel by clicking on the "Codiga for Chrome" button.

Now you can filter your search until you find the desired snippet. If we're missing something, take the time to create and share it for others.

Getting Started

Development

  • pull the repo
  • run the release.sh script
    • ./release.sh
  • visit chrome://extensions and click "Load unpacked"
    • upload the dist folder now
  • run npm run watch

Note: You'll need to click "Update" on the link above when changes are made

chrome-extension's People

Contributors

dastrong-codiga avatar dependabot[bot] avatar jmromeroeci avatar juli1 avatar

Stargazers

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

Watchers

 avatar

chrome-extension's Issues

Jupyter Lab not being detected because url doesn't match.

Describe the bug
Jupyter Lab is not being detected because the URL doesn't match. Right now we're matching all URLs with '.ipynb' but Jupyter Lab uses the pattern 'localhost:/lab/*' so we have to add it to the manifest.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any 'Jupyter Lab' instance in the browser
  2. See the error

Expected behavior
Codiga should be injected into Jupyter Lab too.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

the "set token" field is not working

Describe the bug
The first step to connect the Chrome plugin with the GitHub repositories is to set the personal token in the token field, however when you try to write in the field it seems disabled because you cannot write to it, but if you try to copy and paste the token sometimes works and other times the field is still locked.

To Reproduce
Steps to reproduce the behavior:

  1. Go to chrome plugin
  2. try to write in the "set token" field
  3. try to copy and paste the personal token on "set token" field
  4. See an error

Expected behavior
Should be set my personal token and connect with coding.

Screenshots

Oct-25-2021 16-48-56

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

cannot copy a specific part of the line of code that has violation.

Describe the bug
When you try to copy a specific part of the code line that has a violation, it is not allowed, so copy the complete line, this does not happen in the other lines of code that have no violation.

To Reproduce
Steps to reproduce the behavior:

  1. Go to file
  2. Try to copy a part of the line with violation
  3. And compare with the other line code.
  4. See an error

Expected behavior
Should be copied any part of the code lines.

Screenshots
Oct-25-2021 17-35-29

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

shows a message indicating that the token is not set

Describe the bug
when you open a file complete the plugin shows a message that indicates that the token is not set or not valid, however, the plunging verified the file correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Go to file
  2. Click on 'view file'
  3. See the banner notification indicating the token is not set.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Oct-25-2021 17-17-20

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

All variables appear undeclared when they in fact are.

Describe the bug
Literally all variables appear as if they were not declared.

To Reproduce
Steps to reproduce the behavior:

  1. Load any notebook. (I tested on Tensorflow professional certificate notebook courses from Coursera)
  2. Run the notebook.
  3. Check the error appearing on any variable you declared including imported libraries.

Expected behavior
Variables are expected to appeared declared when program does it.

Screenshots
Os not declared
Os not declared

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.3 LTS
  • Browser: Google Chrome
  • Version: 93.0.4577.63

Additional context
It happens to me with all variables and documents.

Error message is too fast

Describe the bug
API keys error message in the chrome plug-in go to fast.

To Reproduce
Steps to reproduce the behavior:

  1. Go to github
  2. Click on the thing you go to see code....
  3. top right appears the error message... but I believe is too fast, the first time had to go over again to see what it said.
  4. See error

Expected behavior
Maybe put an X to close once you read it, or make it go slower.

Screenshots

Screen.Recording.2021-10-21.at.5.10.24.PM.mov

:D

IPython magic functions generate invalid syntax error.

Describe the bug
IPython magic functions generate and invalid syntax error.
To Reproduce
Steps to reproduce the behavior:

  1. Open a Jupyter notebook
  2. Write some IPython magic function command (For ex. '%pwd')
  3. wait for codiga extension to check your code.
  4. See syntax error appear.

Expected behavior
Not to display that syntax error.

Screenshots
magic functions error

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.3 LTS
  • Browser Google Chrome
  • Version 93.0.4577.63

violation of variable defined but not used is not correct

Describe the bug
This indicates that there is a variable violation defined but not used, however, if you check the code, all variables are being used in the same file.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the code file.
  2. check the violations
  3. and check the variables are used correctly.
  4. See an error

Expected behavior
if there is a violation it must correspond to the verified file.

Screenshots
Oct-25-2021 17-04-53

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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.