A FileTree represents a hierarchy of files
Questions tagged [filetree]
81 questions
1
vote
1 answer
QTreeWidget for File Tree and Sub-folders
So, what i'm using is a QTreeWidget to make a File-Tree. I can easily create the files, and folders. But the issue comes when we talk about sub-folders. For example:
Folder1
Folder1/SubFolder1
Folder1/SubFolder1/SubFolder2
How do i exactly create…

Blastcore
- 360
- 7
- 19
0
votes
1 answer
How to manage a file tree
I have a JS file tree where i can delete, rename, add new files using ajax... I'm wondering what is the best way to update it when a file is deleted or a new one item is created or moved:
Reload the whole tree but it can be a problem when it's big…

Matteo Pagliazzi
- 5,140
- 12
- 49
- 83
0
votes
1 answer
Making Jeditable working on new elements
I'm trying to make Jeditable works on new elements created using this jquery file tree.
On right click on a folder or file a context menu is shown and after clicking "Rename" item on the context menu i want to activate Jeditable.
I'm using this…

Matteo Pagliazzi
- 5,140
- 12
- 49
- 83
0
votes
2 answers
PHP folder dropdowns
I am trying to make a dropdown menu of folders stored on a site. For example the top level would be a list of folders, and when the user hovers over the folder name, a dropdown appears so the user can see all of the files within. I'm very new to PHP…

Dannymadethis
- 53
- 5
0
votes
1 answer
Creating a python package with PyPi and executing it so that no "python3" and ".py" extension is needed
So, I was working on one of my projects when I decided that I would make it a command-line-based tool. I could not find any reliable information (maybe I just searched for the wrong thing, sorry if this is a duplicate, I am new to packaging). I have…

PatzEdi
- 1
- 3
0
votes
0 answers
How do I refresh/update the Custom fileTree Swing component by itself during file changes?
I found this Custom fileTree Component from github to implement it into my project, I'm using this JTree component to access and display file information like file name, file path, file type in a JTable. The project is about File Tagging, I've…

Astron
- 1
- 1
0
votes
0 answers
How to get a directory from a path list?
In table data directories and files are stored as complete paths:
rowid
path
1
c:/data/
2
c:/data/test.txt
3
c:/data/sub1/
4
c:/data/sub1/test.dat
To get all items of a folder (directories and files) without the content of the…

Ulrich
- 249
- 4
- 10
0
votes
1 answer
Json Array Pushes Data Twice to File Tree with React
When pushing data into a file tree, it pushes 2 sets of the same data and I am not exactly sure why.
I have a simple json array that looks like this:
export const treeDataFile = [{
type: 'directory',
name: '2022',
}]
export default…

marcorivera8
- 217
- 1
- 5
- 13
0
votes
0 answers
Package helper libraries with my library C++
I am writing a library that uses other libraries which I have included in my header files due to templates. I am using CMake for a build system, and the helper libraries are kept as submodules in the external directory. I want to provide the user…

Mansoor Ahmed Memon
- 111
- 2
- 16
0
votes
1 answer
How to print the file tree of only the found files in a recursive function?
I have a recursive function that searches a path for a given file name. What I am trying to do is to print the files that match, along with their parent directories.
So for a file tree like this:
mydir
mysubdir
mysubsubdir
…

LonelyBishop
- 7
- 5
0
votes
0 answers
My js files are not responding to new edits
I'm updating a web application that I built. Changes that I make to my HTML and CSS display on the DOM. However, when I try to make changes in my JS files, they don't show on the DOM. I tested this using a console.log and it still didn't show in the…

Dylan Cole
- 51
- 3
0
votes
1 answer
Is there a python module to create filetree from a list or index of paths/files (not local system)
Working on a school project... I have a python list object (obtained from a text file) that contains an entire directory listing(about 400K items). Is there a module to organize this list or text file into a file tree structure automatically?
For…

Laylor010
- 43
- 10
0
votes
0 answers
I want make java Jtree of Selected file from JFileChooser in my Project
This is my TreeModel Class
BusinessLayer;
import java.io.File;
import javax.swing.event.TreeModelListener;
import javax.swing.tree.TreeModel;
import javax.swing.tree.TreePath;
/**
*
* @author attam
*/
…

Mohsin Atta
- 1
- 4
0
votes
1 answer
gradle fileTree with variable dir
I am not sure if this is supported by fileTree. I searched the document and all examples used concrete (absolute or relative) paths. This is what I want to do.
ext {
externalProjectRoot "c:/AnotherProject"
}
implementation fileTree(dir:…

gongqin
- 65
- 1
- 8
0
votes
1 answer
Using stack to make file/directory tree in Java
I need to return or print a file/directory tree using stack data structure. For example:
Folder1
Folder1.1
File1.1.1
Folder1.2
Folder2
File2.1
File2.2
...
My code so far:
public static void filetree(File mainfolder, int…

Hans
- 1
- 1