Code Monkey home page Code Monkey logo

codio-sui's People

Contributors

bogobogo avatar bradydowling avatar imnotashrimp avatar rbrisita avatar sahariko avatar talbebchuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

codio-sui's Issues

Review FFmpeg

Check for FFMPEG
Install FFMPEG Dependency depending on OS.

Add Language Id support

VS Code closes and opens documents on Language Id changes; plaintext to javascript. Incorporate into DocumentEvent type.

Add Stop Command

Make Codio Stop command to be consistent with other commands.

ERR actual command NOT FOUND

Happens when the same tree item codio or another is clicked while one is already playing. It should start the one clicked. Seems to be when view item is in progress.

Cleanup Commands

Review recorder loadCodio and extract isRecording conditional check to command.

Record Same Filename

One can record a file with the same name.

Let's not overwrite a file that already exists without a prompt.

Handling Forward/Rewind Better

If a user rewinds or forwards while paused, the codio shouldn't play.

Look at Player playFrom
Should only play if codio isPlaying before.

Initial review shows that maybe each media either has a goto method or their play methods have a pause option.

#74
#v1

Better File Handling

Newly created files are not saved with content.

Files open too quickly regardless when the presenter opened them. The Editor doesn't take into account when the file was opened.

Fix 'playFrom' Command

The 'playFrom' command only works while a codio is playing. This should worked when paused too.

Fix `playFrom` Command.

This might have to do with startCodio method and process member. Compare with playCodio command.

After selecting a codio to play, playFrom seems to brake. Does not function correctly.

Error: abort from undefined.

Handle Untitled After Save As

During the playing of a codio, created Untitled files are left over in the workspace when they are saved to another file name.

Review Child Process usage

Review if exec should be used or spawn for audio recording and playing back; especially on a low-end machine.

Support Linux and ARM Recording

Currently cannot find audio recording device on Linux/ARM architecture.

Focusing on this to support all VSCode OSes before putting any more effort to dependencies.

Handle File Create Better

When a file is created the open event isn't saved because there isn't any content. The created file event should be processed as an open event to resolve similar issues found with opening files.

Fix Stopping Editor Events

Better handling of events processing and stopping. The combination of timer and asynchronous functions do not cleanly stop the processing of events.

MacOS M1: could not find audio recording device

I get the following error on Visual Studio Code on MacOS Monterey 12.1, MacBook Air M1 2020 - "Codio could not find an audio recording device".
There's an ffmpeg in PATH, version 4.4.1, built with clang version 11.1.0
Do you support arm64 macs? If not, could you hint at what I need to do to add support?

Fix Modified Change Event

Review changes to a modified file.

Open file, and change events are happening. What happens when the cursor changes before the change event?

Should change events have previous content stored?

If paused and modified, maybe search events for last save or open and consolidate up to change event on resume?

Recording Won't Save if no File was Accessed

The recorder will break if a codio is recorded without opening a file.

finish recording failed TypeError: Cannot read property 'dispose' of undefined
	at CodeEditorRecorder.stopRecording (c:\Users\rb\projects\codecanon\test_no-codio_canon\.vscode\extensions\wix.codio-0.1.13\out\recorder\Editor.js:99:50)
	at Recorder.<anonymous> (c:\Users\rb\projects\codecanon\test_no-codio_canon\.vscode\extensions\wix.codio-0.1.13\out\recorder\Recorder.js:70:37)

Review 'executeFile' command

The command 'executeFile' is broken. Is it even needed?

(node:29296) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
c:\Users\rb\projects\codecanon\test_html_canon\src\extension.ts:1
import { commands, ExtensionContext, Uri } from "vscode";
^^^^^^

SyntaxError: Cannot use import statement outside a module

Update UI

Update UI to be more consistent:

  1. Add 'save' icon to status bar.
  2. Add 'stop' to view panel play controls.

Better File Handling

If a codio can’t access a file it won’t start.

startCodio failed Error: cannot open file:///c%3A/Users/rb/projects/codecanon/test_no-codio_canon/dummy.html. Detail: Unable to read file 'c:\Users\rb\projects\codecanon\test_no-codio_canon\dummy.html' (Error: Unable to resolve non-existing file 'c:\Users\rb\projects\codecanon\test_no-codio_canon\dummy.html')

Fix Open Event Bug

When a file is not open td variable will be undefined and an error occurs.

Check Scheme Value

Review workspace.textDocuments as there are files that appear during play when files were open and closed prior to recording.

Seems like scheme should be checked:

  • vscode

Review Promisify Usage

Review utils promisify usage that only FSManager uses. There are synchronous versions already available for most if not all.

Better UI Icons and Notifications

Need better indicator and controls that a recording/playing is happening and what file is being recorded/playing.

https://code.visualstudio.com/api/references/icons-in-labels

Play
*play
*debug-start

Fast Foward

  • run-all
  • debug-continue
  • debug-step-over

Rewind

  • debug-reverse-continue
  • debug-step-back

debug-pause
debug-stop
close
save
record
megaphone
pulse

QuickPickItem Buttons
https://code.visualstudio.com/updates/v1_63#_quick-pick-api-improvements

Modal Messages
https://code.visualstudio.com/updates/v1_58#_details-for-modal-messages

Status Bar Hover
https://code.visualstudio.com/updates/v1_58#_rich-status-bar-hover

https://code.visualstudio.com/updates/v1_59#_rich-status-bar-hover

#v1

Subtitle Forward to End Bug

Forwarding past the end produces error:

TypeError: Cannot read property 'startTime' of undefined
	at Subtitles.play (c:\Users\rb\projects\codecanon\test_html_canon\.vscode\extensions\wix.codio-0.1.13\out\player\Subtitles.js:87:31)
	at Player.play (c:\Users\rb\projects\codecanon\test_html_canon\.vscode\extensions\wix.codio-0.1.13\out\player\Player.js:94:30)

Cleanup unused files

codio-intellij/
docs/intellij-docs.md
docs/vscode-docs.md
LICENSE.md
README.md
vscode/eslint.diff
vscode/.codio

Delete unused images in vscode/media/.

Merge:
src\commands\index.ts
src\consts\command_names.ts

Not Needed:
src\sdk.ts

Codio Could not find an audio recording device

hi there!
Codio looks like an amazing tool, I look forward to using it, right now I am having trouble: codio I get the following error message,
Codio Could not find an audio recording device
thank you very much
laurent

additional info:
I have ffmpeg installed. When in the terminal I type "ffmpeg -version" and get the following:
ffmpeg -version
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100

Fix Save Files at Recording End

At the end of a recording it doesn't seem that all files are being saved.

The call workspace.saveAll(true); is all or nothing.

fix_selection-bug

On jump forward or backward sections get selected. This should not happen.

Research Terminal Panel Recorder

Play a codio that doesn't have a file open.

startCodio failed TypeError: Cannot destructure property 'document' of 'getInitialFileFromInitialFrame(...)' as it is undefined.
	at Object.getInitialFilePathAndContentFromFrame (c:\Users\rb\projects\codecanon\test_no-codio_canon\.vscode\extensions\rbrisita.codio-sui-0.5.4\out\editor\frame\create_frame.js:22:13)
	at CodeEditorPlayer.<anonymous> (c:\Users\rb\projects\codecanon\test_no-codio_canon\.vscode\extensions\rbrisita.codio-sui-0.5.4\out\player\Editor.js:33:57)

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.