Code Monkey home page Code Monkey logo

Comments (19)

CarlVerret avatar CarlVerret commented on September 14, 2024 1

from cyclethroughfiles.

CarlVerret avatar CarlVerret commented on September 14, 2024

yes it does, I use it everyday !

Actually i'm cycling through .cshtml / cshtml.cs / .ts files
image

image

I am binding F7 and Shift-F7 (reverse) cycle. For convienence, I aslo nested .ts (typescript) file under cshtml

from cyclethroughfiles.

CarlVerret avatar CarlVerret commented on September 14, 2024

I am using project view, but I just tested it with folder view and it works !

from cyclethroughfiles.

CarlVerret avatar CarlVerret commented on September 14, 2024

Did you downloaded the ext via vs-marketPlace ?
https://marketplace.visualstudio.com/items?itemName=CarlVerret.CycleThroughFiles-001

from cyclethroughfiles.

evanricard avatar evanricard commented on September 14, 2024

Strange, just not working for me. Yes I downloaded from VS Marketplace. Is this for navigating a "nested" looking file like the one you've shown above with a code-behind and whatever or is it for navigating files within a folder/directory?

from cyclethroughfiles.

CarlVerret avatar CarlVerret commented on September 14, 2024

it actually uses the siblings functionnality:

var curntFile = Path.GetFileName( _dte.ActiveDocument.FullName);
var curntPath = Path.GetDirectoryName(_dte.ActiveDocument.FullName);
var siblings = DocumentHelpers.Siblings(_dte.ActiveDocument.FullName).ToArray();

from cyclethroughfiles.

CarlVerret avatar CarlVerret commented on September 14, 2024

are your files sitting next to each other ?

from cyclethroughfiles.

evanricard avatar evanricard commented on September 14, 2024

Ya the files are next to each other...hrmm I wonder if there is a way I can test with something like Visual Commander

from cyclethroughfiles.

CarlVerret avatar CarlVerret commented on September 14, 2024

sorry to hear that did you try another key instead of F7 ?

from cyclethroughfiles.

CarlVerret avatar CarlVerret commented on September 14, 2024

which version of VS are you using ?

from cyclethroughfiles.

evanricard avatar evanricard commented on September 14, 2024

Let me try something I use an external program SharpKeys to rebind or remove the functionality of some of my fn media keys, F7 being an unbound key. CycleThroughFiles did not have a hotkey defined initially after my installation so I started with alt-c, then did ctrl+Shift+f, then f6. I will register and bind F7 as a key again and let you know what happens.

from cyclethroughfiles.

evanricard avatar evanricard commented on September 14, 2024

No luck, I am using vs2019 and I reinstalled CycleThroughFiles!

from cyclethroughfiles.

evanricard avatar evanricard commented on September 14, 2024

so I was actually using vs2019 preview - doesn't work - but works in vs2019

from cyclethroughfiles.

evanricard avatar evanricard commented on September 14, 2024

Is there any possible way I can have it be so your extension only cycles / iterates through files of the same extension?

from cyclethroughfiles.

evanricard avatar evanricard commented on September 14, 2024

it does work in VS2019 preview I was using it wrong prior to discovering that files of the same name literally means files of the same name lol

from cyclethroughfiles.

CarlVerret avatar CarlVerret commented on September 14, 2024

you mean having 2 modes : same name or same extension ?

from cyclethroughfiles.

evanricard avatar evanricard commented on September 14, 2024

Only extensions would be nice! Preferably just one mode but two is a natural idea as well!

from cyclethroughfiles.

CarlVerret avatar CarlVerret commented on September 14, 2024

maybe as a config toggle...

from cyclethroughfiles.

CarlVerret avatar CarlVerret commented on September 14, 2024

I wonder what would be your typical use case for different files with same extension ? You'd like to cycle through closed files in the same dir ? Otherwise, I can't see much difference with traditionnal CTRL+TAB ?

from cyclethroughfiles.

Related Issues (1)

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.